package com.kingdee.eas.fdc.contract.client;

import java.awt.event.ActionEvent;

import com.kingdee.bos.dao.ormapping.ObjectStringPK;
import com.kingdee.bos.ui.face.IUIWindow;
import com.kingdee.bos.ui.face.UIFactory;
import com.kingdee.eas.common.client.OprtState;
import com.kingdee.eas.common.client.UIContext;
import com.kingdee.eas.common.client.UIFactoryName;
import com.kingdee.eas.custom.htjd.client.ContractEndEditUI;
import com.kingdee.eas.fdc.contract.ContractBillFactory;
import com.kingdee.eas.fdc.contract.ContractBillInfo;

public class ContractBillListUIPIEx extends ContractBillListUI{

	public ContractBillListUIPIEx() throws Exception {
		super();
	}
	public void onLoad() throws Exception {
		super.onLoad();
	}
	public void actionConMove_actionPerformed(ActionEvent e) throws Exception {
		// TODO Auto-generated method stub
		checkSelected();
		String selectedKeyValue = getSelectedKeyValue();
		ContractBillInfo contractBillInfo = ContractBillFactory.getRemoteInstance().getContractBillInfo(new ObjectStringPK(selectedKeyValue));
		UIContext  context = new UIContext(this);
		context.put("contractInfo", contractBillInfo);
		IUIWindow create = UIFactory.createUIFactory(UIFactoryName.NEWWIN).create(ContractEndEditUI.class.getName(),context,null,OprtState.ADDNEW);
		create.show();
//		super.actionConMove_actionPerformed(e);
	}

}
