NC增加编辑态按钮
<!--养护任务 --> <bean id="editActions" class="nc.ui.mmgp.uif2.container.MMGPActionList"> <constructor-arg> <list> <ref bean="saveAction" /> <ref bean="saveAndCommitAction" /> <ref bean="nullaction" /> <ref bean="cancelAction" /> <ref bean="nullaction" /> <ref bean="CuringTaskAction"/> <ref bean="nullaction" /> </list> </constructor-arg> </bean> <bean id="CuringTaskAction" class="nc.ui.qmst.drupcrok.action.SchemeAction"> <property name="code" value="CuringTaskAction" /> <property name="btShowName" value="养护任务"/> </bean>
1 package nc.ui.qmst.drupcrok.action; 2 3 4 import java.awt.event.ActionEvent; 5 import java.util.ArrayList; 6 import java.util.HashMap; 7 import java.util.List; 8 import java.util.Map; 9 10 import nc.bs.framework.common.NCLocator; 11 import nc.md.persist.framework.IMDPersistenceQueryService; 12 import nc.md.persist.framework.MDPersistenceService; 13 //import nc.pubitf.gsp.material.IMaterialPubQuery; 14 //import nc.pubitf.gsp.storecuring.DrupcrokItemVO; 15 //import nc.ui.gsp.drupcrok.billref.PfUtilClient; 16 //import nc.ui.gsp.editor.MaterialInfoQueryClientHelper; 17 import nc.ui.pub.beans.MessageDialog; 18 import nc.ui.pub.beans.UIRefPane; 19 import nc.ui.pub.bill.BillCardPanel; 20 import nc.ui.pub.bill.BillModel; 21 import nc.ui.pubapp.uif2app.actions.AbstractReferenceAction; 22 import nc.ui.uif2.ShowStatusBarMsgUtil; 23 import nc.ui.uif2.UIState; 24 import nc.ui.uif2.model.AbstractAppModel; 25 //import nc.vo.gsp.drupcrok.AggDrupCrokVO; 26 //import nc.vo.gsp.drupcrok.AggOnHandVO; 27 //import nc.vo.gsp.drupcrok.DrupCrokBVO; 28 //import nc.vo.gsp.drupcrok.DrupCrokVO; 29 import nc.vo.ic.material.define.InvBasVO; 30 import nc.vo.ic.onhand.entity.OnhandDimVO; 31 import nc.vo.ic.onhand.entity.OnhandNumVO; 32 import nc.vo.pub.AggregatedValueObject; 33 import nc.vo.pub.BusinessException; 34 import nc.vo.pub.CircularlyAccessibleValueObject; 35 import nc.vo.pub.lang.UFDouble; 36 import nc.vo.pubapp.AppContext; 37 import nc.vo.pubapp.calculator.HslParseUtil; 38 import nc.vo.pubapp.scale.ScaleUtils; 39 import nc.vo.pubapp.util.VORowNoUtils; 40 41 public class CuringTaskAction extends AbstractReferenceAction { 42 43 @Override 44 public void doAction(ActionEvent arg0) throws Exception { 45 46 } 47 48 }