/**
 * output package name
 */
package com.kingdee.eas.custom.integration.feishu.client;

import org.apache.log4j.*;

import java.awt.*;
import java.awt.event.*;
import java.util.*;
import javax.swing.border.*;
import javax.swing.BorderFactory;
import javax.swing.event.*;
import javax.swing.KeyStroke;

import com.kingdee.bos.ctrl.swing.*;
import com.kingdee.bos.ctrl.kdf.table.*;
import com.kingdee.bos.ctrl.kdf.data.event.*;
import com.kingdee.bos.dao.*;
import com.kingdee.bos.dao.query.*;
import com.kingdee.bos.metadata.*;
import com.kingdee.bos.metadata.entity.*;
import com.kingdee.bos.ui.face.*;
import com.kingdee.bos.ui.util.ResourceBundleHelper;
import com.kingdee.bos.util.BOSUuid;
import com.kingdee.bos.service.ServiceContext;
import com.kingdee.jdbc.rowset.IRowSet;
import com.kingdee.util.enums.EnumUtils;
import com.kingdee.bos.ui.face.UIRuleUtil;
import com.kingdee.bos.ctrl.swing.event.*;
import com.kingdee.bos.ctrl.kdf.table.event.*;
import com.kingdee.bos.ctrl.extendcontrols.*;
import com.kingdee.bos.ctrl.kdf.util.render.*;
import com.kingdee.bos.ui.face.IItemAction;
import com.kingdee.eas.framework.batchHandler.RequestContext;
import com.kingdee.bos.ui.util.IUIActionPostman;
import com.kingdee.bos.appframework.client.servicebinding.ActionProxyFactory;
import com.kingdee.bos.appframework.uistatemanage.ActionStateConst;
import com.kingdee.bos.appframework.validator.ValidateHelper;
import com.kingdee.bos.appframework.uip.UINavigator;


/**
 * output class name
 */
public abstract class AbstractFeishuApprovalInstanceEditUI extends com.kingdee.eas.framework.client.CoreBillEditUI
{
    private static final Logger logger = CoreUIObject.getLogger(AbstractFeishuApprovalInstanceEditUI.class);
    protected KDLabelContainer contCreator;
    protected KDLabelContainer contCreateTime;
    protected KDLabelContainer contLastUpdateUser;
    protected KDLabelContainer contLastUpdateTime;
    protected KDLabelContainer contNumber;
    protected KDLabelContainer contBizDate;
    protected KDLabelContainer contDescription;
    protected KDLabelContainer contAuditor;
    protected KDTable kdtCcList;
	protected com.kingdee.eas.framework.client.multiDetail.DetailPanel kdtCcList_detailPanel = null;
    protected KDTable kdtTaskList;
	protected com.kingdee.eas.framework.client.multiDetail.DetailPanel kdtTaskList_detailPanel = null;
    protected KDTable kdtForms;
	protected com.kingdee.eas.framework.client.multiDetail.DetailPanel kdtForms_detailPanel = null;
    protected KDLabelContainer contapproval;
    protected KDLabelContainer contstatus;
    protected KDLabelContainer contextra;
    protected KDLabelContainer continstanceId;
    protected KDLabelContainer contpcLink;
    protected KDLabelContainer contmobileLink;
    protected KDLabelContainer conttitle;
    protected KDLabelContainer contuser;
    protected KDLabelContainer contdepartment;
    protected KDLabelContainer contstartTime;
    protected KDLabelContainer contendTime;
    protected KDLabelContainer contupdateTime;
    protected KDLabelContainer contdisplayMethod;
    protected KDLabelContainer contupdateMode;
    protected KDLabelContainer contsyncStatus;
    protected KDLabelContainer contsyncResult;
    protected KDLabelContainer conthrOrgUnit;
    protected KDBizPromptBox prmtCreator;
    protected KDDatePicker kDDateCreateTime;
    protected KDBizPromptBox prmtLastUpdateUser;
    protected KDDatePicker kDDateLastUpdateTime;
    protected KDTextField txtNumber;
    protected KDDatePicker pkBizDate;
    protected KDTextField txtDescription;
    protected KDBizPromptBox prmtAuditor;
    protected KDBizPromptBox prmtapproval;
    protected KDComboBox status;
    protected KDScrollPane scrollPaneextra;
    protected KDTextArea txtextra;
    protected KDTextField txtinstanceId;
    protected KDScrollPane scrollPanepcLink;
    protected KDTextArea txtpcLink;
    protected KDScrollPane scrollPanemobileLink;
    protected KDTextArea txtmobileLink;
    protected KDBizPromptBox prmttitle;
    protected KDBizPromptBox prmtuser;
    protected KDBizPromptBox prmtdepartment;
    protected KDTimePicker startTime;
    protected KDTimePicker endTime;
    protected KDTimePicker updateTime;
    protected KDComboBox displayMethod;
    protected KDComboBox updateMode;
    protected KDComboBox syncStatus;
    protected KDScrollPane scrollPanesyncResult;
    protected KDTextArea txtsyncResult;
    protected KDBizPromptBox prmthrOrgUnit;
    protected com.kingdee.eas.custom.integration.feishu.FeishuApprovalInstanceInfo editData = null;
    /**
     * output class constructor
     */
    public AbstractFeishuApprovalInstanceEditUI() throws Exception
    {
        super();
        this.defaultObjectName = "editData";
        jbInit();
        
        initUIP();
    }

    /**
     * output jbInit method
     */
    private void jbInit() throws Exception
    {
        this.resHelper = new ResourceBundleHelper(AbstractFeishuApprovalInstanceEditUI.class.getName());
        this.setUITitle(resHelper.getString("this.title"));
        //actionSubmit
        String _tempStr = null;
        actionSubmit.setEnabled(true);
        actionSubmit.setDaemonRun(false);

        actionSubmit.putValue(ItemAction.ACCELERATOR_KEY, KeyStroke.getKeyStroke("ctrl S"));
        _tempStr = resHelper.getString("ActionSubmit.SHORT_DESCRIPTION");
        actionSubmit.putValue(ItemAction.SHORT_DESCRIPTION, _tempStr);
        _tempStr = resHelper.getString("ActionSubmit.LONG_DESCRIPTION");
        actionSubmit.putValue(ItemAction.LONG_DESCRIPTION, _tempStr);
        _tempStr = resHelper.getString("ActionSubmit.NAME");
        actionSubmit.putValue(ItemAction.NAME, _tempStr);
        this.actionSubmit.setBindWorkFlow(true);
         this.actionSubmit.addService(new com.kingdee.eas.framework.client.service.PermissionService());
         this.actionSubmit.addService(new com.kingdee.eas.framework.client.service.NetFunctionService());
         this.actionSubmit.addService(new com.kingdee.eas.framework.client.service.UserMonitorService());
        //actionPrint
        actionPrint.setEnabled(true);
        actionPrint.setDaemonRun(false);

        actionPrint.putValue(ItemAction.ACCELERATOR_KEY, KeyStroke.getKeyStroke("ctrl P"));
        _tempStr = resHelper.getString("ActionPrint.SHORT_DESCRIPTION");
        actionPrint.putValue(ItemAction.SHORT_DESCRIPTION, _tempStr);
        _tempStr = resHelper.getString("ActionPrint.LONG_DESCRIPTION");
        actionPrint.putValue(ItemAction.LONG_DESCRIPTION, _tempStr);
        _tempStr = resHelper.getString("ActionPrint.NAME");
        actionPrint.putValue(ItemAction.NAME, _tempStr);
         this.actionPrint.addService(new com.kingdee.eas.framework.client.service.PermissionService());
         this.actionPrint.addService(new com.kingdee.eas.framework.client.service.NetFunctionService());
         this.actionPrint.addService(new com.kingdee.eas.framework.client.service.UserMonitorService());
        //actionPrintPreview
        actionPrintPreview.setEnabled(true);
        actionPrintPreview.setDaemonRun(false);

        actionPrintPreview.putValue(ItemAction.ACCELERATOR_KEY, KeyStroke.getKeyStroke("shift ctrl P"));
        _tempStr = resHelper.getString("ActionPrintPreview.SHORT_DESCRIPTION");
        actionPrintPreview.putValue(ItemAction.SHORT_DESCRIPTION, _tempStr);
        _tempStr = resHelper.getString("ActionPrintPreview.LONG_DESCRIPTION");
        actionPrintPreview.putValue(ItemAction.LONG_DESCRIPTION, _tempStr);
        _tempStr = resHelper.getString("ActionPrintPreview.NAME");
        actionPrintPreview.putValue(ItemAction.NAME, _tempStr);
         this.actionPrintPreview.addService(new com.kingdee.eas.framework.client.service.PermissionService());
         this.actionPrintPreview.addService(new com.kingdee.eas.framework.client.service.NetFunctionService());
         this.actionPrintPreview.addService(new com.kingdee.eas.framework.client.service.UserMonitorService());
        this.contCreator = new KDLabelContainer();
        this.contCreateTime = new KDLabelContainer();
        this.contLastUpdateUser = new KDLabelContainer();
        this.contLastUpdateTime = new KDLabelContainer();
        this.contNumber = new KDLabelContainer();
        this.contBizDate = new KDLabelContainer();
        this.contDescription = new KDLabelContainer();
        this.contAuditor = new KDLabelContainer();
        this.kdtCcList = new KDTable();
        this.kdtTaskList = new KDTable();
        this.kdtForms = new KDTable();
        this.contapproval = new KDLabelContainer();
        this.contstatus = new KDLabelContainer();
        this.contextra = new KDLabelContainer();
        this.continstanceId = new KDLabelContainer();
        this.contpcLink = new KDLabelContainer();
        this.contmobileLink = new KDLabelContainer();
        this.conttitle = new KDLabelContainer();
        this.contuser = new KDLabelContainer();
        this.contdepartment = new KDLabelContainer();
        this.contstartTime = new KDLabelContainer();
        this.contendTime = new KDLabelContainer();
        this.contupdateTime = new KDLabelContainer();
        this.contdisplayMethod = new KDLabelContainer();
        this.contupdateMode = new KDLabelContainer();
        this.contsyncStatus = new KDLabelContainer();
        this.contsyncResult = new KDLabelContainer();
        this.conthrOrgUnit = new KDLabelContainer();
        this.prmtCreator = new KDBizPromptBox();
        this.kDDateCreateTime = new KDDatePicker();
        this.prmtLastUpdateUser = new KDBizPromptBox();
        this.kDDateLastUpdateTime = new KDDatePicker();
        this.txtNumber = new KDTextField();
        this.pkBizDate = new KDDatePicker();
        this.txtDescription = new KDTextField();
        this.prmtAuditor = new KDBizPromptBox();
        this.prmtapproval = new KDBizPromptBox();
        this.status = new KDComboBox();
        this.scrollPaneextra = new KDScrollPane();
        this.txtextra = new KDTextArea();
        this.txtinstanceId = new KDTextField();
        this.scrollPanepcLink = new KDScrollPane();
        this.txtpcLink = new KDTextArea();
        this.scrollPanemobileLink = new KDScrollPane();
        this.txtmobileLink = new KDTextArea();
        this.prmttitle = new KDBizPromptBox();
        this.prmtuser = new KDBizPromptBox();
        this.prmtdepartment = new KDBizPromptBox();
        this.startTime = new KDTimePicker();
        this.endTime = new KDTimePicker();
        this.updateTime = new KDTimePicker();
        this.displayMethod = new KDComboBox();
        this.updateMode = new KDComboBox();
        this.syncStatus = new KDComboBox();
        this.scrollPanesyncResult = new KDScrollPane();
        this.txtsyncResult = new KDTextArea();
        this.prmthrOrgUnit = new KDBizPromptBox();
        this.contCreator.setName("contCreator");
        this.contCreateTime.setName("contCreateTime");
        this.contLastUpdateUser.setName("contLastUpdateUser");
        this.contLastUpdateTime.setName("contLastUpdateTime");
        this.contNumber.setName("contNumber");
        this.contBizDate.setName("contBizDate");
        this.contDescription.setName("contDescription");
        this.contAuditor.setName("contAuditor");
        this.kdtCcList.setName("kdtCcList");
        this.kdtTaskList.setName("kdtTaskList");
        this.kdtForms.setName("kdtForms");
        this.contapproval.setName("contapproval");
        this.contstatus.setName("contstatus");
        this.contextra.setName("contextra");
        this.continstanceId.setName("continstanceId");
        this.contpcLink.setName("contpcLink");
        this.contmobileLink.setName("contmobileLink");
        this.conttitle.setName("conttitle");
        this.contuser.setName("contuser");
        this.contdepartment.setName("contdepartment");
        this.contstartTime.setName("contstartTime");
        this.contendTime.setName("contendTime");
        this.contupdateTime.setName("contupdateTime");
        this.contdisplayMethod.setName("contdisplayMethod");
        this.contupdateMode.setName("contupdateMode");
        this.contsyncStatus.setName("contsyncStatus");
        this.contsyncResult.setName("contsyncResult");
        this.conthrOrgUnit.setName("conthrOrgUnit");
        this.prmtCreator.setName("prmtCreator");
        this.kDDateCreateTime.setName("kDDateCreateTime");
        this.prmtLastUpdateUser.setName("prmtLastUpdateUser");
        this.kDDateLastUpdateTime.setName("kDDateLastUpdateTime");
        this.txtNumber.setName("txtNumber");
        this.pkBizDate.setName("pkBizDate");
        this.txtDescription.setName("txtDescription");
        this.prmtAuditor.setName("prmtAuditor");
        this.prmtapproval.setName("prmtapproval");
        this.status.setName("status");
        this.scrollPaneextra.setName("scrollPaneextra");
        this.txtextra.setName("txtextra");
        this.txtinstanceId.setName("txtinstanceId");
        this.scrollPanepcLink.setName("scrollPanepcLink");
        this.txtpcLink.setName("txtpcLink");
        this.scrollPanemobileLink.setName("scrollPanemobileLink");
        this.txtmobileLink.setName("txtmobileLink");
        this.prmttitle.setName("prmttitle");
        this.prmtuser.setName("prmtuser");
        this.prmtdepartment.setName("prmtdepartment");
        this.startTime.setName("startTime");
        this.endTime.setName("endTime");
        this.updateTime.setName("updateTime");
        this.displayMethod.setName("displayMethod");
        this.updateMode.setName("updateMode");
        this.syncStatus.setName("syncStatus");
        this.scrollPanesyncResult.setName("scrollPanesyncResult");
        this.txtsyncResult.setName("txtsyncResult");
        this.prmthrOrgUnit.setName("prmthrOrgUnit");
        // CoreUI		
        this.btnTraceUp.setVisible(false);		
        this.btnTraceDown.setVisible(false);		
        this.btnCreateTo.setVisible(true);		
        this.btnAddLine.setVisible(false);		
        this.btnCopyLine.setVisible(false);		
        this.btnInsertLine.setVisible(false);		
        this.btnRemoveLine.setVisible(false);		
        this.btnAuditResult.setVisible(false);		
        this.separator1.setVisible(false);		
        this.menuItemCreateTo.setVisible(true);		
        this.separator3.setVisible(false);		
        this.menuItemTraceUp.setVisible(false);		
        this.menuItemTraceDown.setVisible(false);		
        this.menuTable1.setVisible(false);		
        this.menuItemAddLine.setVisible(false);		
        this.menuItemCopyLine.setVisible(false);		
        this.menuItemInsertLine.setVisible(false);		
        this.menuItemRemoveLine.setVisible(false);		
        this.menuItemViewSubmitProccess.setVisible(false);		
        this.menuItemViewDoProccess.setVisible(false);		
        this.menuItemAuditResult.setVisible(false);
        // contCreator		
        this.contCreator.setBoundLabelText(resHelper.getString("contCreator.boundLabelText"));		
        this.contCreator.setBoundLabelLength(100);		
        this.contCreator.setBoundLabelUnderline(true);		
        this.contCreator.setEnabled(false);
        // contCreateTime		
        this.contCreateTime.setBoundLabelText(resHelper.getString("contCreateTime.boundLabelText"));		
        this.contCreateTime.setBoundLabelLength(100);		
        this.contCreateTime.setBoundLabelUnderline(true);		
        this.contCreateTime.setEnabled(false);
        // contLastUpdateUser		
        this.contLastUpdateUser.setBoundLabelText(resHelper.getString("contLastUpdateUser.boundLabelText"));		
        this.contLastUpdateUser.setBoundLabelLength(100);		
        this.contLastUpdateUser.setBoundLabelUnderline(true);		
        this.contLastUpdateUser.setEnabled(false);		
        this.contLastUpdateUser.setVisible(false);
        // contLastUpdateTime		
        this.contLastUpdateTime.setBoundLabelText(resHelper.getString("contLastUpdateTime.boundLabelText"));		
        this.contLastUpdateTime.setBoundLabelLength(100);		
        this.contLastUpdateTime.setBoundLabelUnderline(true);		
        this.contLastUpdateTime.setEnabled(false);		
        this.contLastUpdateTime.setVisible(false);
        // contNumber		
        this.contNumber.setBoundLabelText(resHelper.getString("contNumber.boundLabelText"));		
        this.contNumber.setBoundLabelLength(100);		
        this.contNumber.setBoundLabelUnderline(true);
        // contBizDate		
        this.contBizDate.setBoundLabelText(resHelper.getString("contBizDate.boundLabelText"));		
        this.contBizDate.setBoundLabelLength(100);		
        this.contBizDate.setBoundLabelUnderline(true);		
        this.contBizDate.setBoundLabelAlignment(7);		
        this.contBizDate.setVisible(true);
        // contDescription		
        this.contDescription.setBoundLabelText(resHelper.getString("contDescription.boundLabelText"));		
        this.contDescription.setBoundLabelLength(100);		
        this.contDescription.setBoundLabelUnderline(true);
        // contAuditor		
        this.contAuditor.setBoundLabelText(resHelper.getString("contAuditor.boundLabelText"));		
        this.contAuditor.setBoundLabelLength(100);		
        this.contAuditor.setBoundLabelUnderline(true);
        // kdtCcList
		String kdtCcListStrXML = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><DocRoot xmlns:c=\"http://www.kingdee.com/Common\" xmlns:f=\"http://www.kingdee.com/Form\" xmlns:t=\"http://www.kingdee.com/Table\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.kingdee.com/KDF KDFSchema.xsd\" version=\"0.0\"><Styles><c:Style id=\"sCol0\"><c:NumberFormat>&amp;int</c:NumberFormat></c:Style><c:Style id=\"sCol7\"><c:NumberFormat>&amp;time</c:NumberFormat></c:Style><c:Style id=\"sCol8\"><c:NumberFormat>&amp;time</c:NumberFormat></c:Style></Styles><Table id=\"KDTable\"><t:Sheet name=\"sheet1\"><t:Table t:selectMode=\"15\" t:mergeMode=\"0\" t:dataRequestMode=\"0\" t:pageRowCount=\"100\"><t:ColumnGroup><t:Column t:key=\"seq\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol0\" /><t:Column t:key=\"user\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"pcLink\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"mobileLink\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"readStatus\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"extra\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"title\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"createTime\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol7\" /><t:Column t:key=\"updateTime\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol8\" /><t:Column t:key=\"displayMethod\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /></t:ColumnGroup><t:Head><t:Row t:name=\"header\" t:height=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\"><t:Cell>$Resource{seq}</t:Cell><t:Cell>$Resource{user}</t:Cell><t:Cell>$Resource{pcLink}</t:Cell><t:Cell>$Resource{mobileLink}</t:Cell><t:Cell>$Resource{readStatus}</t:Cell><t:Cell>$Resource{extra}</t:Cell><t:Cell>$Resource{title}</t:Cell><t:Cell>$Resource{createTime}</t:Cell><t:Cell>$Resource{updateTime}</t:Cell><t:Cell>$Resource{displayMethod}</t:Cell></t:Row></t:Head></t:Table><t:SheetOptions><t:MergeBlocks><t:Head /></t:MergeBlocks></t:SheetOptions></t:Sheet></Table></DocRoot>";
		
        this.kdtCcList.setFormatXml(resHelper.translateString("kdtCcList",kdtCcListStrXML));

                this.kdtCcList.putBindContents("editData",new String[] {"seq","user","pcLink","mobileLink","readStatus","extra","title","createTime","updateTime","displayMethod"});


        this.kdtCcList.checkParsed();
        KDFormattedTextField kdtCcList_seq_TextField = new KDFormattedTextField();
        kdtCcList_seq_TextField.setName("kdtCcList_seq_TextField");
        kdtCcList_seq_TextField.setVisible(true);
        kdtCcList_seq_TextField.setEditable(true);
        kdtCcList_seq_TextField.setHorizontalAlignment(2);
        kdtCcList_seq_TextField.setDataType(0);
        KDTDefaultCellEditor kdtCcList_seq_CellEditor = new KDTDefaultCellEditor(kdtCcList_seq_TextField);
        this.kdtCcList.getColumn("seq").setEditor(kdtCcList_seq_CellEditor);
        final KDBizPromptBox kdtCcList_user_PromptBox = new KDBizPromptBox();
        kdtCcList_user_PromptBox.setQueryInfo("com.kingdee.eas.base.permission.app.F7AllUserQuery");
        kdtCcList_user_PromptBox.setVisible(true);
        kdtCcList_user_PromptBox.setEditable(true);
        kdtCcList_user_PromptBox.setDisplayFormat("$number$");
        kdtCcList_user_PromptBox.setEditFormat("$number$");
        kdtCcList_user_PromptBox.setCommitFormat("$number$");
        KDTDefaultCellEditor kdtCcList_user_CellEditor = new KDTDefaultCellEditor(kdtCcList_user_PromptBox);
        this.kdtCcList.getColumn("user").setEditor(kdtCcList_user_CellEditor);
        ObjectValueRender kdtCcList_user_OVR = new ObjectValueRender();
        kdtCcList_user_OVR.setFormat(new BizDataFormat("$number$"));
        this.kdtCcList.getColumn("user").setRenderer(kdtCcList_user_OVR);
        KDTextArea kdtCcList_pcLink_TextArea = new KDTextArea();
        kdtCcList_pcLink_TextArea.setName("kdtCcList_pcLink_TextArea");
        kdtCcList_pcLink_TextArea.setMaxLength(512);
        KDTDefaultCellEditor kdtCcList_pcLink_CellEditor = new KDTDefaultCellEditor(kdtCcList_pcLink_TextArea);
        this.kdtCcList.getColumn("pcLink").setEditor(kdtCcList_pcLink_CellEditor);
        KDTextArea kdtCcList_mobileLink_TextArea = new KDTextArea();
        kdtCcList_mobileLink_TextArea.setName("kdtCcList_mobileLink_TextArea");
        kdtCcList_mobileLink_TextArea.setMaxLength(512);
        KDTDefaultCellEditor kdtCcList_mobileLink_CellEditor = new KDTDefaultCellEditor(kdtCcList_mobileLink_TextArea);
        this.kdtCcList.getColumn("mobileLink").setEditor(kdtCcList_mobileLink_CellEditor);
        KDComboBox kdtCcList_readStatus_ComboBox = new KDComboBox();
        kdtCcList_readStatus_ComboBox.setName("kdtCcList_readStatus_ComboBox");
        kdtCcList_readStatus_ComboBox.setVisible(true);
        kdtCcList_readStatus_ComboBox.addItems(EnumUtils.getEnumList("com.kingdee.eas.custom.integration.feishu.bizEnum.ReadStatusEnum").toArray());
        KDTDefaultCellEditor kdtCcList_readStatus_CellEditor = new KDTDefaultCellEditor(kdtCcList_readStatus_ComboBox);
        this.kdtCcList.getColumn("readStatus").setEditor(kdtCcList_readStatus_CellEditor);
        KDTextArea kdtCcList_extra_TextArea = new KDTextArea();
        kdtCcList_extra_TextArea.setName("kdtCcList_extra_TextArea");
        kdtCcList_extra_TextArea.setMaxLength(512);
        KDTDefaultCellEditor kdtCcList_extra_CellEditor = new KDTDefaultCellEditor(kdtCcList_extra_TextArea);
        this.kdtCcList.getColumn("extra").setEditor(kdtCcList_extra_CellEditor);
        KDTextField kdtCcList_title_TextField = new KDTextField();
        kdtCcList_title_TextField.setName("kdtCcList_title_TextField");
        kdtCcList_title_TextField.setMaxLength(100);
        KDTDefaultCellEditor kdtCcList_title_CellEditor = new KDTDefaultCellEditor(kdtCcList_title_TextField);
        this.kdtCcList.getColumn("title").setEditor(kdtCcList_title_CellEditor);
        KDTimePicker kdtCcList_createTime_TimePicker = new KDTimePicker();
        kdtCcList_createTime_TimePicker.setName("kdtCcList_createTime_TimePicker");
        kdtCcList_createTime_TimePicker.setVisible(true);
        KDTDefaultCellEditor kdtCcList_createTime_CellEditor = new KDTDefaultCellEditor(kdtCcList_createTime_TimePicker);
        this.kdtCcList.getColumn("createTime").setEditor(kdtCcList_createTime_CellEditor);
        KDTimePicker kdtCcList_updateTime_TimePicker = new KDTimePicker();
        kdtCcList_updateTime_TimePicker.setName("kdtCcList_updateTime_TimePicker");
        kdtCcList_updateTime_TimePicker.setVisible(true);
        KDTDefaultCellEditor kdtCcList_updateTime_CellEditor = new KDTDefaultCellEditor(kdtCcList_updateTime_TimePicker);
        this.kdtCcList.getColumn("updateTime").setEditor(kdtCcList_updateTime_CellEditor);
        KDComboBox kdtCcList_displayMethod_ComboBox = new KDComboBox();
        kdtCcList_displayMethod_ComboBox.setName("kdtCcList_displayMethod_ComboBox");
        kdtCcList_displayMethod_ComboBox.setVisible(true);
        kdtCcList_displayMethod_ComboBox.addItems(EnumUtils.getEnumList("com.kingdee.eas.custom.integration.feishu.bizEnum.DisplayMethodEnum").toArray());
        KDTDefaultCellEditor kdtCcList_displayMethod_CellEditor = new KDTDefaultCellEditor(kdtCcList_displayMethod_ComboBox);
        this.kdtCcList.getColumn("displayMethod").setEditor(kdtCcList_displayMethod_CellEditor);
        // kdtTaskList
		String kdtTaskListStrXML = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><DocRoot xmlns:c=\"http://www.kingdee.com/Common\" xmlns:f=\"http://www.kingdee.com/Form\" xmlns:t=\"http://www.kingdee.com/Table\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.kingdee.com/KDF KDFSchema.xsd\" version=\"0.0\"><Styles><c:Style id=\"sCol0\"><c:NumberFormat>&amp;int</c:NumberFormat></c:Style><c:Style id=\"sCol8\"><c:NumberFormat>&amp;time</c:NumberFormat></c:Style><c:Style id=\"sCol9\"><c:NumberFormat>&amp;time</c:NumberFormat></c:Style><c:Style id=\"sCol10\"><c:NumberFormat>&amp;time</c:NumberFormat></c:Style></Styles><Table id=\"KDTable\"><t:Sheet name=\"sheet1\"><t:Table t:selectMode=\"15\" t:mergeMode=\"0\" t:dataRequestMode=\"0\" t:pageRowCount=\"100\"><t:ColumnGroup><t:Column t:key=\"seq\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol0\" /><t:Column t:key=\"taskId\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"user\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"title\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"pcLink\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"mobileLink\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"status\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"extra\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"createTime\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol8\" /><t:Column t:key=\"endTime\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol9\" /><t:Column t:key=\"updateTime\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol10\" /><t:Column t:key=\"actionContext\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"displayMethod\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"excludeStatistics\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"nodeId\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"nodeName\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"generateType\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /></t:ColumnGroup><t:Head><t:Row t:name=\"header\" t:height=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\"><t:Cell>$Resource{seq}</t:Cell><t:Cell>$Resource{taskId}</t:Cell><t:Cell>$Resource{user}</t:Cell><t:Cell>$Resource{title}</t:Cell><t:Cell>$Resource{pcLink}</t:Cell><t:Cell>$Resource{mobileLink}</t:Cell><t:Cell>$Resource{status}</t:Cell><t:Cell>$Resource{extra}</t:Cell><t:Cell>$Resource{createTime}</t:Cell><t:Cell>$Resource{endTime}</t:Cell><t:Cell>$Resource{updateTime}</t:Cell><t:Cell>$Resource{actionContext}</t:Cell><t:Cell>$Resource{displayMethod}</t:Cell><t:Cell>$Resource{excludeStatistics}</t:Cell><t:Cell>$Resource{nodeId}</t:Cell><t:Cell>$Resource{nodeName}</t:Cell><t:Cell>$Resource{generateType}</t:Cell></t:Row></t:Head></t:Table><t:SheetOptions><t:MergeBlocks><t:Head /></t:MergeBlocks></t:SheetOptions></t:Sheet></Table></DocRoot>";
		
        this.kdtTaskList.setFormatXml(resHelper.translateString("kdtTaskList",kdtTaskListStrXML));

                this.kdtTaskList.putBindContents("editData",new String[] {"seq","taskId","user","title","pcLink","mobileLink","status","extra","createTime","endTime","updateTime","actionContext","displayMethod","excludeStatistics","nodeId","nodeName","generateType"});


        this.kdtTaskList.checkParsed();
        KDFormattedTextField kdtTaskList_seq_TextField = new KDFormattedTextField();
        kdtTaskList_seq_TextField.setName("kdtTaskList_seq_TextField");
        kdtTaskList_seq_TextField.setVisible(true);
        kdtTaskList_seq_TextField.setEditable(true);
        kdtTaskList_seq_TextField.setHorizontalAlignment(2);
        kdtTaskList_seq_TextField.setDataType(0);
        KDTDefaultCellEditor kdtTaskList_seq_CellEditor = new KDTDefaultCellEditor(kdtTaskList_seq_TextField);
        this.kdtTaskList.getColumn("seq").setEditor(kdtTaskList_seq_CellEditor);
        KDTextField kdtTaskList_taskId_TextField = new KDTextField();
        kdtTaskList_taskId_TextField.setName("kdtTaskList_taskId_TextField");
        kdtTaskList_taskId_TextField.setMaxLength(100);
        KDTDefaultCellEditor kdtTaskList_taskId_CellEditor = new KDTDefaultCellEditor(kdtTaskList_taskId_TextField);
        this.kdtTaskList.getColumn("taskId").setEditor(kdtTaskList_taskId_CellEditor);
        final KDBizPromptBox kdtTaskList_user_PromptBox = new KDBizPromptBox();
        kdtTaskList_user_PromptBox.setQueryInfo("com.kingdee.eas.base.permission.app.F7AllUserQuery");
        kdtTaskList_user_PromptBox.setVisible(true);
        kdtTaskList_user_PromptBox.setEditable(true);
        kdtTaskList_user_PromptBox.setDisplayFormat("$number$");
        kdtTaskList_user_PromptBox.setEditFormat("$number$");
        kdtTaskList_user_PromptBox.setCommitFormat("$number$");
        KDTDefaultCellEditor kdtTaskList_user_CellEditor = new KDTDefaultCellEditor(kdtTaskList_user_PromptBox);
        this.kdtTaskList.getColumn("user").setEditor(kdtTaskList_user_CellEditor);
        ObjectValueRender kdtTaskList_user_OVR = new ObjectValueRender();
        kdtTaskList_user_OVR.setFormat(new BizDataFormat("$number$"));
        this.kdtTaskList.getColumn("user").setRenderer(kdtTaskList_user_OVR);
        final KDBizPromptBox kdtTaskList_title_PromptBox = new KDBizPromptBox();
        kdtTaskList_title_PromptBox.setQueryInfo("com.kingdee.eas.custom.integration.feishu.app.FeishuI18nResourcesQuery");
        kdtTaskList_title_PromptBox.setVisible(true);
        kdtTaskList_title_PromptBox.setEditable(true);
        kdtTaskList_title_PromptBox.setDisplayFormat("$number$");
        kdtTaskList_title_PromptBox.setEditFormat("$number$");
        kdtTaskList_title_PromptBox.setCommitFormat("$number$");
        KDTDefaultCellEditor kdtTaskList_title_CellEditor = new KDTDefaultCellEditor(kdtTaskList_title_PromptBox);
        this.kdtTaskList.getColumn("title").setEditor(kdtTaskList_title_CellEditor);
        ObjectValueRender kdtTaskList_title_OVR = new ObjectValueRender();
        kdtTaskList_title_OVR.setFormat(new BizDataFormat("$name$"));
        this.kdtTaskList.getColumn("title").setRenderer(kdtTaskList_title_OVR);
        KDTextArea kdtTaskList_pcLink_TextArea = new KDTextArea();
        kdtTaskList_pcLink_TextArea.setName("kdtTaskList_pcLink_TextArea");
        kdtTaskList_pcLink_TextArea.setMaxLength(512);
        KDTDefaultCellEditor kdtTaskList_pcLink_CellEditor = new KDTDefaultCellEditor(kdtTaskList_pcLink_TextArea);
        this.kdtTaskList.getColumn("pcLink").setEditor(kdtTaskList_pcLink_CellEditor);
        KDTextArea kdtTaskList_mobileLink_TextArea = new KDTextArea();
        kdtTaskList_mobileLink_TextArea.setName("kdtTaskList_mobileLink_TextArea");
        kdtTaskList_mobileLink_TextArea.setMaxLength(512);
        KDTDefaultCellEditor kdtTaskList_mobileLink_CellEditor = new KDTDefaultCellEditor(kdtTaskList_mobileLink_TextArea);
        this.kdtTaskList.getColumn("mobileLink").setEditor(kdtTaskList_mobileLink_CellEditor);
        KDComboBox kdtTaskList_status_ComboBox = new KDComboBox();
        kdtTaskList_status_ComboBox.setName("kdtTaskList_status_ComboBox");
        kdtTaskList_status_ComboBox.setVisible(true);
        kdtTaskList_status_ComboBox.addItems(EnumUtils.getEnumList("com.kingdee.eas.custom.integration.feishu.bizEnum.TaskStatusEnum").toArray());
        KDTDefaultCellEditor kdtTaskList_status_CellEditor = new KDTDefaultCellEditor(kdtTaskList_status_ComboBox);
        this.kdtTaskList.getColumn("status").setEditor(kdtTaskList_status_CellEditor);
        KDTextArea kdtTaskList_extra_TextArea = new KDTextArea();
        kdtTaskList_extra_TextArea.setName("kdtTaskList_extra_TextArea");
        kdtTaskList_extra_TextArea.setMaxLength(512);
        KDTDefaultCellEditor kdtTaskList_extra_CellEditor = new KDTDefaultCellEditor(kdtTaskList_extra_TextArea);
        this.kdtTaskList.getColumn("extra").setEditor(kdtTaskList_extra_CellEditor);
        KDTimePicker kdtTaskList_createTime_TimePicker = new KDTimePicker();
        kdtTaskList_createTime_TimePicker.setName("kdtTaskList_createTime_TimePicker");
        kdtTaskList_createTime_TimePicker.setVisible(true);
        KDTDefaultCellEditor kdtTaskList_createTime_CellEditor = new KDTDefaultCellEditor(kdtTaskList_createTime_TimePicker);
        this.kdtTaskList.getColumn("createTime").setEditor(kdtTaskList_createTime_CellEditor);
        KDTimePicker kdtTaskList_endTime_TimePicker = new KDTimePicker();
        kdtTaskList_endTime_TimePicker.setName("kdtTaskList_endTime_TimePicker");
        kdtTaskList_endTime_TimePicker.setVisible(true);
        KDTDefaultCellEditor kdtTaskList_endTime_CellEditor = new KDTDefaultCellEditor(kdtTaskList_endTime_TimePicker);
        this.kdtTaskList.getColumn("endTime").setEditor(kdtTaskList_endTime_CellEditor);
        KDTimePicker kdtTaskList_updateTime_TimePicker = new KDTimePicker();
        kdtTaskList_updateTime_TimePicker.setName("kdtTaskList_updateTime_TimePicker");
        kdtTaskList_updateTime_TimePicker.setVisible(true);
        KDTDefaultCellEditor kdtTaskList_updateTime_CellEditor = new KDTDefaultCellEditor(kdtTaskList_updateTime_TimePicker);
        this.kdtTaskList.getColumn("updateTime").setEditor(kdtTaskList_updateTime_CellEditor);
        KDTextArea kdtTaskList_actionContext_TextArea = new KDTextArea();
        kdtTaskList_actionContext_TextArea.setName("kdtTaskList_actionContext_TextArea");
        kdtTaskList_actionContext_TextArea.setMaxLength(512);
        KDTDefaultCellEditor kdtTaskList_actionContext_CellEditor = new KDTDefaultCellEditor(kdtTaskList_actionContext_TextArea);
        this.kdtTaskList.getColumn("actionContext").setEditor(kdtTaskList_actionContext_CellEditor);
        KDComboBox kdtTaskList_displayMethod_ComboBox = new KDComboBox();
        kdtTaskList_displayMethod_ComboBox.setName("kdtTaskList_displayMethod_ComboBox");
        kdtTaskList_displayMethod_ComboBox.setVisible(true);
        kdtTaskList_displayMethod_ComboBox.addItems(EnumUtils.getEnumList("com.kingdee.eas.custom.integration.feishu.bizEnum.DisplayMethodEnum").toArray());
        KDTDefaultCellEditor kdtTaskList_displayMethod_CellEditor = new KDTDefaultCellEditor(kdtTaskList_displayMethod_ComboBox);
        this.kdtTaskList.getColumn("displayMethod").setEditor(kdtTaskList_displayMethod_CellEditor);
        KDCheckBox kdtTaskList_excludeStatistics_CheckBox = new KDCheckBox();
        kdtTaskList_excludeStatistics_CheckBox.setName("kdtTaskList_excludeStatistics_CheckBox");
        KDTDefaultCellEditor kdtTaskList_excludeStatistics_CellEditor = new KDTDefaultCellEditor(kdtTaskList_excludeStatistics_CheckBox);
        this.kdtTaskList.getColumn("excludeStatistics").setEditor(kdtTaskList_excludeStatistics_CellEditor);
        KDTextField kdtTaskList_nodeId_TextField = new KDTextField();
        kdtTaskList_nodeId_TextField.setName("kdtTaskList_nodeId_TextField");
        kdtTaskList_nodeId_TextField.setMaxLength(100);
        KDTDefaultCellEditor kdtTaskList_nodeId_CellEditor = new KDTDefaultCellEditor(kdtTaskList_nodeId_TextField);
        this.kdtTaskList.getColumn("nodeId").setEditor(kdtTaskList_nodeId_CellEditor);
        final KDBizPromptBox kdtTaskList_nodeName_PromptBox = new KDBizPromptBox();
        kdtTaskList_nodeName_PromptBox.setQueryInfo("com.kingdee.eas.custom.integration.feishu.app.FeishuI18nResourcesQuery");
        kdtTaskList_nodeName_PromptBox.setVisible(true);
        kdtTaskList_nodeName_PromptBox.setEditable(true);
        kdtTaskList_nodeName_PromptBox.setDisplayFormat("$number$");
        kdtTaskList_nodeName_PromptBox.setEditFormat("$number$");
        kdtTaskList_nodeName_PromptBox.setCommitFormat("$number$");
        KDTDefaultCellEditor kdtTaskList_nodeName_CellEditor = new KDTDefaultCellEditor(kdtTaskList_nodeName_PromptBox);
        this.kdtTaskList.getColumn("nodeName").setEditor(kdtTaskList_nodeName_CellEditor);
        ObjectValueRender kdtTaskList_nodeName_OVR = new ObjectValueRender();
        kdtTaskList_nodeName_OVR.setFormat(new BizDataFormat("$name$"));
        this.kdtTaskList.getColumn("nodeName").setRenderer(kdtTaskList_nodeName_OVR);
        KDTextField kdtTaskList_generateType_TextField = new KDTextField();
        kdtTaskList_generateType_TextField.setName("kdtTaskList_generateType_TextField");
        kdtTaskList_generateType_TextField.setMaxLength(100);
        KDTDefaultCellEditor kdtTaskList_generateType_CellEditor = new KDTDefaultCellEditor(kdtTaskList_generateType_TextField);
        this.kdtTaskList.getColumn("generateType").setEditor(kdtTaskList_generateType_CellEditor);
        // kdtForms
		String kdtFormsStrXML = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><DocRoot xmlns:c=\"http://www.kingdee.com/Common\" xmlns:f=\"http://www.kingdee.com/Form\" xmlns:t=\"http://www.kingdee.com/Table\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.kingdee.com/KDF KDFSchema.xsd\" version=\"0.0\"><Styles><c:Style id=\"sCol0\"><c:NumberFormat>&amp;int</c:NumberFormat></c:Style></Styles><Table id=\"KDTable\"><t:Sheet name=\"sheet1\"><t:Table t:selectMode=\"15\" t:mergeMode=\"0\" t:dataRequestMode=\"0\" t:pageRowCount=\"100\"><t:ColumnGroup><t:Column t:key=\"seq\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol0\" /><t:Column t:key=\"name\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"value\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /></t:ColumnGroup><t:Head><t:Row t:name=\"header\" t:height=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\"><t:Cell>$Resource{seq}</t:Cell><t:Cell>$Resource{name}</t:Cell><t:Cell>$Resource{value}</t:Cell></t:Row></t:Head></t:Table><t:SheetOptions><t:MergeBlocks><t:Head /></t:MergeBlocks></t:SheetOptions></t:Sheet></Table></DocRoot>";
		
        this.kdtForms.setFormatXml(resHelper.translateString("kdtForms",kdtFormsStrXML));

                this.kdtForms.putBindContents("editData",new String[] {"seq","name","value"});


        this.kdtForms.checkParsed();
        KDFormattedTextField kdtForms_seq_TextField = new KDFormattedTextField();
        kdtForms_seq_TextField.setName("kdtForms_seq_TextField");
        kdtForms_seq_TextField.setVisible(true);
        kdtForms_seq_TextField.setEditable(true);
        kdtForms_seq_TextField.setHorizontalAlignment(2);
        kdtForms_seq_TextField.setDataType(0);
        KDTDefaultCellEditor kdtForms_seq_CellEditor = new KDTDefaultCellEditor(kdtForms_seq_TextField);
        this.kdtForms.getColumn("seq").setEditor(kdtForms_seq_CellEditor);
        final KDBizPromptBox kdtForms_name_PromptBox = new KDBizPromptBox();
        kdtForms_name_PromptBox.setQueryInfo("com.kingdee.eas.custom.integration.feishu.app.FeishuI18nResourcesQuery");
        kdtForms_name_PromptBox.setVisible(true);
        kdtForms_name_PromptBox.setEditable(true);
        kdtForms_name_PromptBox.setDisplayFormat("$number$");
        kdtForms_name_PromptBox.setEditFormat("$number$");
        kdtForms_name_PromptBox.setCommitFormat("$number$");
        KDTDefaultCellEditor kdtForms_name_CellEditor = new KDTDefaultCellEditor(kdtForms_name_PromptBox);
        this.kdtForms.getColumn("name").setEditor(kdtForms_name_CellEditor);
        ObjectValueRender kdtForms_name_OVR = new ObjectValueRender();
        kdtForms_name_OVR.setFormat(new BizDataFormat("$name$"));
        this.kdtForms.getColumn("name").setRenderer(kdtForms_name_OVR);
        final KDBizPromptBox kdtForms_value_PromptBox = new KDBizPromptBox();
        kdtForms_value_PromptBox.setQueryInfo("com.kingdee.eas.custom.integration.feishu.app.FeishuI18nResourcesQuery");
        kdtForms_value_PromptBox.setVisible(true);
        kdtForms_value_PromptBox.setEditable(true);
        kdtForms_value_PromptBox.setDisplayFormat("$number$");
        kdtForms_value_PromptBox.setEditFormat("$number$");
        kdtForms_value_PromptBox.setCommitFormat("$number$");
        KDTDefaultCellEditor kdtForms_value_CellEditor = new KDTDefaultCellEditor(kdtForms_value_PromptBox);
        this.kdtForms.getColumn("value").setEditor(kdtForms_value_CellEditor);
        ObjectValueRender kdtForms_value_OVR = new ObjectValueRender();
        kdtForms_value_OVR.setFormat(new BizDataFormat("$name$"));
        this.kdtForms.getColumn("value").setRenderer(kdtForms_value_OVR);
        // contapproval		
        this.contapproval.setBoundLabelText(resHelper.getString("contapproval.boundLabelText"));		
        this.contapproval.setBoundLabelLength(100);		
        this.contapproval.setBoundLabelUnderline(true);		
        this.contapproval.setVisible(true);
        // contstatus		
        this.contstatus.setBoundLabelText(resHelper.getString("contstatus.boundLabelText"));		
        this.contstatus.setBoundLabelLength(100);		
        this.contstatus.setBoundLabelUnderline(true);		
        this.contstatus.setVisible(true);
        // contextra		
        this.contextra.setBoundLabelText(resHelper.getString("contextra.boundLabelText"));		
        this.contextra.setBoundLabelLength(100);		
        this.contextra.setBoundLabelUnderline(true);		
        this.contextra.setVisible(true);
        // continstanceId		
        this.continstanceId.setBoundLabelText(resHelper.getString("continstanceId.boundLabelText"));		
        this.continstanceId.setBoundLabelLength(100);		
        this.continstanceId.setBoundLabelUnderline(true);		
        this.continstanceId.setVisible(true);
        // contpcLink		
        this.contpcLink.setBoundLabelText(resHelper.getString("contpcLink.boundLabelText"));		
        this.contpcLink.setBoundLabelLength(100);		
        this.contpcLink.setBoundLabelUnderline(true);		
        this.contpcLink.setVisible(true);
        // contmobileLink		
        this.contmobileLink.setBoundLabelText(resHelper.getString("contmobileLink.boundLabelText"));		
        this.contmobileLink.setBoundLabelLength(100);		
        this.contmobileLink.setBoundLabelUnderline(true);		
        this.contmobileLink.setVisible(true);
        // conttitle		
        this.conttitle.setBoundLabelText(resHelper.getString("conttitle.boundLabelText"));		
        this.conttitle.setBoundLabelLength(100);		
        this.conttitle.setBoundLabelUnderline(true);		
        this.conttitle.setVisible(true);
        // contuser		
        this.contuser.setBoundLabelText(resHelper.getString("contuser.boundLabelText"));		
        this.contuser.setBoundLabelLength(100);		
        this.contuser.setBoundLabelUnderline(true);		
        this.contuser.setVisible(true);
        // contdepartment		
        this.contdepartment.setBoundLabelText(resHelper.getString("contdepartment.boundLabelText"));		
        this.contdepartment.setBoundLabelLength(100);		
        this.contdepartment.setBoundLabelUnderline(true);		
        this.contdepartment.setVisible(true);
        // contstartTime		
        this.contstartTime.setBoundLabelText(resHelper.getString("contstartTime.boundLabelText"));		
        this.contstartTime.setBoundLabelLength(100);		
        this.contstartTime.setBoundLabelUnderline(true);		
        this.contstartTime.setVisible(true);
        // contendTime		
        this.contendTime.setBoundLabelText(resHelper.getString("contendTime.boundLabelText"));		
        this.contendTime.setBoundLabelLength(100);		
        this.contendTime.setBoundLabelUnderline(true);		
        this.contendTime.setVisible(true);
        // contupdateTime		
        this.contupdateTime.setBoundLabelText(resHelper.getString("contupdateTime.boundLabelText"));		
        this.contupdateTime.setBoundLabelLength(100);		
        this.contupdateTime.setBoundLabelUnderline(true);		
        this.contupdateTime.setVisible(true);
        // contdisplayMethod		
        this.contdisplayMethod.setBoundLabelText(resHelper.getString("contdisplayMethod.boundLabelText"));		
        this.contdisplayMethod.setBoundLabelLength(100);		
        this.contdisplayMethod.setBoundLabelUnderline(true);		
        this.contdisplayMethod.setVisible(true);
        // contupdateMode		
        this.contupdateMode.setBoundLabelText(resHelper.getString("contupdateMode.boundLabelText"));		
        this.contupdateMode.setBoundLabelLength(100);		
        this.contupdateMode.setBoundLabelUnderline(true);		
        this.contupdateMode.setVisible(true);
        // contsyncStatus		
        this.contsyncStatus.setBoundLabelText(resHelper.getString("contsyncStatus.boundLabelText"));		
        this.contsyncStatus.setBoundLabelLength(100);		
        this.contsyncStatus.setBoundLabelUnderline(true);		
        this.contsyncStatus.setVisible(true);
        // contsyncResult		
        this.contsyncResult.setBoundLabelText(resHelper.getString("contsyncResult.boundLabelText"));		
        this.contsyncResult.setBoundLabelLength(100);		
        this.contsyncResult.setBoundLabelUnderline(true);		
        this.contsyncResult.setVisible(true);
        // conthrOrgUnit		
        this.conthrOrgUnit.setBoundLabelText(resHelper.getString("conthrOrgUnit.boundLabelText"));		
        this.conthrOrgUnit.setBoundLabelLength(100);		
        this.conthrOrgUnit.setBoundLabelUnderline(true);		
        this.conthrOrgUnit.setVisible(true);
        // prmtCreator		
        this.prmtCreator.setEnabled(false);
        // kDDateCreateTime		
        this.kDDateCreateTime.setTimeEnabled(true);		
        this.kDDateCreateTime.setEnabled(false);
        // prmtLastUpdateUser		
        this.prmtLastUpdateUser.setEnabled(false);
        // kDDateLastUpdateTime		
        this.kDDateLastUpdateTime.setTimeEnabled(true);		
        this.kDDateLastUpdateTime.setEnabled(false);
        // txtNumber		
        this.txtNumber.setMaxLength(80);
        // pkBizDate		
        this.pkBizDate.setVisible(true);		
        this.pkBizDate.setEnabled(true);
        // txtDescription		
        this.txtDescription.setMaxLength(80);
        // prmtAuditor		
        this.prmtAuditor.setEnabled(false);
        // prmtapproval		
        this.prmtapproval.setQueryInfo("com.kingdee.eas.custom.integration.feishu.app.FeishuApprovalsQuery");		
        this.prmtapproval.setVisible(true);		
        this.prmtapproval.setEditable(true);		
        this.prmtapproval.setDisplayFormat("$approvalCode$");		
        this.prmtapproval.setEditFormat("$number$");		
        this.prmtapproval.setCommitFormat("$number$");		
        this.prmtapproval.setRequired(false);
        // status		
        this.status.setVisible(true);		
        this.status.addItems(EnumUtils.getEnumList("com.kingdee.eas.custom.integration.feishu.bizEnum.InstanceStatusEnum").toArray());		
        this.status.setRequired(false);
        // scrollPaneextra
        // txtextra		
        this.txtextra.setVisible(true);		
        this.txtextra.setRequired(false);		
        this.txtextra.setMaxLength(512);
        // txtinstanceId		
        this.txtinstanceId.setVisible(true);		
        this.txtinstanceId.setHorizontalAlignment(2);		
        this.txtinstanceId.setMaxLength(100);		
        this.txtinstanceId.setRequired(false);
        // scrollPanepcLink
        // txtpcLink		
        this.txtpcLink.setVisible(true);		
        this.txtpcLink.setRequired(false);		
        this.txtpcLink.setMaxLength(512);
        // scrollPanemobileLink
        // txtmobileLink		
        this.txtmobileLink.setVisible(true);		
        this.txtmobileLink.setRequired(false);		
        this.txtmobileLink.setMaxLength(512);
        // prmttitle		
        this.prmttitle.setQueryInfo("com.kingdee.eas.custom.integration.feishu.app.FeishuI18nResourcesQuery");		
        this.prmttitle.setVisible(true);		
        this.prmttitle.setEditable(true);		
        this.prmttitle.setDisplayFormat("$name$");		
        this.prmttitle.setEditFormat("$number$");		
        this.prmttitle.setCommitFormat("$number$");		
        this.prmttitle.setRequired(false);
        // prmtuser		
        this.prmtuser.setQueryInfo("com.kingdee.eas.base.permission.app.UserListQuery");		
        this.prmtuser.setVisible(true);		
        this.prmtuser.setEditable(true);		
        this.prmtuser.setDisplayFormat("$number$");		
        this.prmtuser.setEditFormat("$number$");		
        this.prmtuser.setCommitFormat("$number$");		
        this.prmtuser.setRequired(false);
        // prmtdepartment		
        this.prmtdepartment.setQueryInfo("com.kingdee.eas.basedata.org.app.AdminItemQuery");		
        this.prmtdepartment.setVisible(true);		
        this.prmtdepartment.setEditable(true);		
        this.prmtdepartment.setDisplayFormat("$name$");		
        this.prmtdepartment.setEditFormat("$number$");		
        this.prmtdepartment.setCommitFormat("$number$");		
        this.prmtdepartment.setRequired(false);
        // startTime		
        this.startTime.setVisible(true);
        // endTime		
        this.endTime.setVisible(true);
        // updateTime		
        this.updateTime.setVisible(true);
        // displayMethod		
        this.displayMethod.setVisible(true);		
        this.displayMethod.addItems(EnumUtils.getEnumList("com.kingdee.eas.custom.integration.feishu.bizEnum.DisplayMethodEnum").toArray());		
        this.displayMethod.setRequired(false);
        // updateMode		
        this.updateMode.setVisible(true);		
        this.updateMode.addItems(EnumUtils.getEnumList("com.kingdee.eas.custom.integration.feishu.bizEnum.InstanceUpdateModeEnum").toArray());		
        this.updateMode.setRequired(false);
        // syncStatus		
        this.syncStatus.setVisible(true);		
        this.syncStatus.addItems(EnumUtils.getEnumList("com.kingdee.eas.custom.integration.feishu.bizEnum.SyncStatusEnum").toArray());		
        this.syncStatus.setRequired(false);
        // scrollPanesyncResult
        // txtsyncResult		
        this.txtsyncResult.setVisible(true);		
        this.txtsyncResult.setRequired(false);		
        this.txtsyncResult.setMaxLength(512);
        // prmthrOrgUnit		
        this.prmthrOrgUnit.setQueryInfo("com.kingdee.eas.basedata.org.app.HROrgUnitQuery");		
        this.prmthrOrgUnit.setVisible(true);		
        this.prmthrOrgUnit.setEditable(true);		
        this.prmthrOrgUnit.setDisplayFormat("$name$");		
        this.prmthrOrgUnit.setEditFormat("$number$");		
        this.prmthrOrgUnit.setCommitFormat("$number$");		
        this.prmthrOrgUnit.setRequired(false);
        this.setFocusTraversalPolicy(new com.kingdee.bos.ui.UIFocusTraversalPolicy(new Component[] {prmtapproval,status,txtextra,txtinstanceId,txtpcLink,txtmobileLink,prmttitle,kDDateLastUpdateTime,prmtLastUpdateUser,kDDateCreateTime,prmtCreator,prmtAuditor,txtDescription,pkBizDate,txtNumber,kdtForms,kdtTaskList,kdtCcList,prmtuser,prmtdepartment,startTime,endTime,updateTime,displayMethod,updateMode,syncStatus,txtsyncResult,prmthrOrgUnit}));
        this.setFocusCycleRoot(true);
		//Register control's property binding
		registerBindings();
		registerUIState();


    }

	public KDToolBar[] getUIMultiToolBar(){
		java.util.List list = new ArrayList();
		KDToolBar[] bars = super.getUIMultiToolBar();
		if (bars != null) {
			list.addAll(Arrays.asList(bars));
		}
		return (KDToolBar[])list.toArray(new KDToolBar[list.size()]);
	}




    /**
     * output initUIContentLayout method
     */
    public void initUIContentLayout()
    {
        this.setBounds(new Rectangle(0, 0, 1013, 629));
        this.setLayout(null);
        contCreator.setBounds(new Rectangle(440, 524, 270, 19));
        this.add(contCreator, null);
        contCreateTime.setBounds(new Rectangle(730, 524, 270, 19));
        this.add(contCreateTime, null);
        contLastUpdateUser.setBounds(new Rectangle(440, 555, 270, 19));
        this.add(contLastUpdateUser, null);
        contLastUpdateTime.setBounds(new Rectangle(730, 555, 270, 19));
        this.add(contLastUpdateTime, null);
        contNumber.setBounds(new Rectangle(728, 26, 270, 19));
        this.add(contNumber, null);
        contBizDate.setBounds(new Rectangle(350, 66, 270, 19));
        this.add(contBizDate, null);
        contDescription.setBounds(new Rectangle(728, 66, 270, 19));
        this.add(contDescription, null);
        contAuditor.setBounds(new Rectangle(15, 528, 270, 19));
        this.add(contAuditor, null);
        kdtCcList.setBounds(new Rectangle(0, 0, 600, 170));
        kdtCcList_detailPanel = (com.kingdee.eas.framework.client.multiDetail.DetailPanel)com.kingdee.eas.framework.client.multiDetail.HMDUtils.buildDetail(this,dataBinder,kdtCcList,new com.kingdee.eas.custom.integration.feishu.FeishuApprovalInstanceCcListInfo(),null,false);
        this.add(kdtCcList_detailPanel, null);
		kdtCcList_detailPanel.addAddListener(new com.kingdee.eas.framework.client.multiDetail.IDetailPanelListener() {
			public void beforeEvent(com.kingdee.eas.framework.client.multiDetail.DetailPanelEvent event) throws Exception {
				IObjectValue vo = event.getObjectValue();
vo.put("readStatus","READ");
vo.put("displayMethod","BROWSER");
			}
			public void afterEvent(com.kingdee.eas.framework.client.multiDetail.DetailPanelEvent event) throws Exception {
			}
		});
        kdtTaskList.setBounds(new Rectangle(0, 0, 600, 170));
        kdtTaskList_detailPanel = (com.kingdee.eas.framework.client.multiDetail.DetailPanel)com.kingdee.eas.framework.client.multiDetail.HMDUtils.buildDetail(this,dataBinder,kdtTaskList,new com.kingdee.eas.custom.integration.feishu.FeishuApprovalInstanceTaskListInfo(),null,false);
        this.add(kdtTaskList_detailPanel, null);
		kdtTaskList_detailPanel.addAddListener(new com.kingdee.eas.framework.client.multiDetail.IDetailPanelListener() {
			public void beforeEvent(com.kingdee.eas.framework.client.multiDetail.DetailPanelEvent event) throws Exception {
				IObjectValue vo = event.getObjectValue();
vo.put("status","PENDING");
vo.put("displayMethod","BROWSER");
			}
			public void afterEvent(com.kingdee.eas.framework.client.multiDetail.DetailPanelEvent event) throws Exception {
			}
		});
        kdtForms.setBounds(new Rectangle(0, 0, 600, 170));
        kdtForms_detailPanel = (com.kingdee.eas.framework.client.multiDetail.DetailPanel)com.kingdee.eas.framework.client.multiDetail.HMDUtils.buildDetail(this,dataBinder,kdtForms,new com.kingdee.eas.custom.integration.feishu.FeishuApprovalInstanceFormInfo(),null,false);
        this.add(kdtForms_detailPanel, null);
        contapproval.setBounds(new Rectangle(0, 0, 270, 19));
        this.add(contapproval, null);
        contstatus.setBounds(new Rectangle(0, 0, 270, 19));
        this.add(contstatus, null);
        contextra.setBounds(new Rectangle(0, 0, 270, 19));
        this.add(contextra, null);
        continstanceId.setBounds(new Rectangle(0, 0, 270, 19));
        this.add(continstanceId, null);
        contpcLink.setBounds(new Rectangle(0, 0, 270, 19));
        this.add(contpcLink, null);
        contmobileLink.setBounds(new Rectangle(0, 0, 270, 19));
        this.add(contmobileLink, null);
        conttitle.setBounds(new Rectangle(0, 0, 270, 19));
        this.add(conttitle, null);
        contuser.setBounds(new Rectangle(0, 0, 270, 19));
        this.add(contuser, null);
        contdepartment.setBounds(new Rectangle(0, 0, 270, 19));
        this.add(contdepartment, null);
        contstartTime.setBounds(new Rectangle(0, 0, 270, 19));
        this.add(contstartTime, null);
        contendTime.setBounds(new Rectangle(0, 0, 270, 19));
        this.add(contendTime, null);
        contupdateTime.setBounds(new Rectangle(0, 0, 270, 19));
        this.add(contupdateTime, null);
        contdisplayMethod.setBounds(new Rectangle(0, 0, 270, 19));
        this.add(contdisplayMethod, null);
        contupdateMode.setBounds(new Rectangle(0, 0, 270, 19));
        this.add(contupdateMode, null);
        contsyncStatus.setBounds(new Rectangle(0, 0, 270, 19));
        this.add(contsyncStatus, null);
        contsyncResult.setBounds(new Rectangle(0, 0, 270, 19));
        this.add(contsyncResult, null);
        conthrOrgUnit.setBounds(new Rectangle(0, 0, 270, 19));
        this.add(conthrOrgUnit, null);
        //contCreator
        contCreator.setBoundEditor(prmtCreator);
        //contCreateTime
        contCreateTime.setBoundEditor(kDDateCreateTime);
        //contLastUpdateUser
        contLastUpdateUser.setBoundEditor(prmtLastUpdateUser);
        //contLastUpdateTime
        contLastUpdateTime.setBoundEditor(kDDateLastUpdateTime);
        //contNumber
        contNumber.setBoundEditor(txtNumber);
        //contBizDate
        contBizDate.setBoundEditor(pkBizDate);
        //contDescription
        contDescription.setBoundEditor(txtDescription);
        //contAuditor
        contAuditor.setBoundEditor(prmtAuditor);
        //contapproval
        contapproval.setBoundEditor(prmtapproval);
        //contstatus
        contstatus.setBoundEditor(status);
        //contextra
        contextra.setBoundEditor(scrollPaneextra);
        //scrollPaneextra
        scrollPaneextra.getViewport().add(txtextra, null);
        //continstanceId
        continstanceId.setBoundEditor(txtinstanceId);
        //contpcLink
        contpcLink.setBoundEditor(scrollPanepcLink);
        //scrollPanepcLink
        scrollPanepcLink.getViewport().add(txtpcLink, null);
        //contmobileLink
        contmobileLink.setBoundEditor(scrollPanemobileLink);
        //scrollPanemobileLink
        scrollPanemobileLink.getViewport().add(txtmobileLink, null);
        //conttitle
        conttitle.setBoundEditor(prmttitle);
        //contuser
        contuser.setBoundEditor(prmtuser);
        //contdepartment
        contdepartment.setBoundEditor(prmtdepartment);
        //contstartTime
        contstartTime.setBoundEditor(startTime);
        //contendTime
        contendTime.setBoundEditor(endTime);
        //contupdateTime
        contupdateTime.setBoundEditor(updateTime);
        //contdisplayMethod
        contdisplayMethod.setBoundEditor(displayMethod);
        //contupdateMode
        contupdateMode.setBoundEditor(updateMode);
        //contsyncStatus
        contsyncStatus.setBoundEditor(syncStatus);
        //contsyncResult
        contsyncResult.setBoundEditor(scrollPanesyncResult);
        //scrollPanesyncResult
        scrollPanesyncResult.getViewport().add(txtsyncResult, null);
        //conthrOrgUnit
        conthrOrgUnit.setBoundEditor(prmthrOrgUnit);

    }


    /**
     * output initUIMenuBarLayout method
     */
    public void initUIMenuBarLayout()
    {
        this.menuBar.add(menuFile);
        this.menuBar.add(menuEdit);
        this.menuBar.add(MenuService);
        this.menuBar.add(menuView);
        this.menuBar.add(menuBiz);
        this.menuBar.add(menuTable1);
        this.menuBar.add(menuTool);
        this.menuBar.add(menuWorkflow);
        this.menuBar.add(menuHelp);
        //menuFile
        menuFile.add(menuItemAddNew);
        menuFile.add(kDSeparator1);
        menuFile.add(menuItemCloudFeed);
        menuFile.add(menuItemSave);
        menuFile.add(menuItemCloudScreen);
        menuFile.add(menuItemSubmit);
        menuFile.add(menuItemCloudShare);
        menuFile.add(menuSubmitOption);
        menuFile.add(kdSeparatorFWFile1);
        menuFile.add(rMenuItemSubmit);
        menuFile.add(rMenuItemSubmitAndAddNew);
        menuFile.add(rMenuItemSubmitAndPrint);
        menuFile.add(separatorFile1);
        menuFile.add(MenuItemAttachment);
        menuFile.add(kDSeparator2);
        menuFile.add(menuItemPageSetup);
        menuFile.add(menuItemPrint);
        menuFile.add(menuItemPrintPreview);
        menuFile.add(kDSeparator6);
        menuFile.add(menuItemSendMail);
        menuFile.add(kDSeparator3);
        menuFile.add(menuItemExitCurrent);
        //menuSubmitOption
        menuSubmitOption.add(chkMenuItemSubmitAndAddNew);
        menuSubmitOption.add(chkMenuItemSubmitAndPrint);
        //menuEdit
        menuEdit.add(menuItemCopy);
        menuEdit.add(menuItemEdit);
        menuEdit.add(menuItemRemove);
        menuEdit.add(kDSeparator4);
        menuEdit.add(menuItemReset);
        menuEdit.add(separator1);
        menuEdit.add(menuItemCreateFrom);
        menuEdit.add(menuItemCreateTo);
        menuEdit.add(menuItemCopyFrom);
        menuEdit.add(separatorEdit1);
        menuEdit.add(menuItemEnterToNextRow);
        menuEdit.add(separator2);
        //MenuService
        MenuService.add(MenuItemKnowStore);
        MenuService.add(MenuItemAnwser);
        MenuService.add(SepratorService);
        MenuService.add(MenuItemRemoteAssist);
        //menuView
        menuView.add(menuItemFirst);
        menuView.add(menuItemPre);
        menuView.add(menuItemNext);
        menuView.add(menuItemLast);
        menuView.add(separator3);
        menuView.add(menuItemTraceUp);
        menuView.add(menuItemTraceDown);
        menuView.add(kDSeparator7);
        menuView.add(menuItemLocate);
        //menuBiz
        menuBiz.add(menuItemCancelCancel);
        menuBiz.add(menuItemCancel);
        menuBiz.add(MenuItemVoucher);
        menuBiz.add(menuItemDelVoucher);
        menuBiz.add(MenuItemPCVoucher);
        menuBiz.add(menuItemDelPCVoucher);
        //menuTable1
        menuTable1.add(menuItemAddLine);
        menuTable1.add(menuItemCopyLine);
        menuTable1.add(menuItemInsertLine);
        menuTable1.add(menuItemRemoveLine);
        //menuTool
        menuTool.add(menuItemSendMessage);
        menuTool.add(menuItemMsgFormat);
        menuTool.add(menuItemCalculator);
        menuTool.add(menuItemToolBarCustom);
        //menuWorkflow
        menuWorkflow.add(menuItemStartWorkFlow);
        menuWorkflow.add(separatorWF1);
        menuWorkflow.add(menuItemViewSubmitProccess);
        menuWorkflow.add(menuItemViewDoProccess);
        menuWorkflow.add(MenuItemWFG);
        menuWorkflow.add(menuItemWorkFlowList);
        menuWorkflow.add(separatorWF2);
        menuWorkflow.add(menuItemMultiapprove);
        menuWorkflow.add(menuItemNextPerson);
        menuWorkflow.add(menuItemAuditResult);
        menuWorkflow.add(kDSeparator5);
        menuWorkflow.add(kDMenuItemSendMessage);
        //menuHelp
        menuHelp.add(menuItemHelp);
        menuHelp.add(kDSeparator12);
        menuHelp.add(menuItemRegPro);
        menuHelp.add(menuItemPersonalSite);
        menuHelp.add(helpseparatorDiv);
        menuHelp.add(menuitemProductval);
        menuHelp.add(kDSeparatorProduct);
        menuHelp.add(menuItemAbout);

    }

    /**
     * output initUIToolBarLayout method
     */
    public void initUIToolBarLayout()
    {
        this.toolBar.add(btnAddNew);
        this.toolBar.add(btnCloud);
        this.toolBar.add(btnEdit);
        this.toolBar.add(btnXunTong);
        this.toolBar.add(btnSave);
        this.toolBar.add(kDSeparatorCloud);
        this.toolBar.add(btnReset);
        this.toolBar.add(btnSubmit);
        this.toolBar.add(btnCopy);
        this.toolBar.add(btnRemove);
        this.toolBar.add(btnCancelCancel);
        this.toolBar.add(btnCancel);
        this.toolBar.add(btnAttachment);
        this.toolBar.add(separatorFW1);
        this.toolBar.add(btnPageSetup);
        this.toolBar.add(btnPrint);
        this.toolBar.add(btnPrintPreview);
        this.toolBar.add(separatorFW2);
        this.toolBar.add(btnFirst);
        this.toolBar.add(btnPre);
        this.toolBar.add(btnNext);
        this.toolBar.add(btnLast);
        this.toolBar.add(separatorFW3);
        this.toolBar.add(btnTraceUp);
        this.toolBar.add(btnTraceDown);
        this.toolBar.add(btnWorkFlowG);
        this.toolBar.add(btnSignature);
        this.toolBar.add(btnViewSignature);
        this.toolBar.add(separatorFW4);
        this.toolBar.add(btnNumberSign);
        this.toolBar.add(separatorFW7);
        this.toolBar.add(btnCreateFrom);
        this.toolBar.add(btnCopyFrom);
        this.toolBar.add(btnCreateTo);
        this.toolBar.add(separatorFW5);
        this.toolBar.add(separatorFW8);
        this.toolBar.add(btnAddLine);
        this.toolBar.add(btnCopyLine);
        this.toolBar.add(btnInsertLine);
        this.toolBar.add(btnRemoveLine);
        this.toolBar.add(separatorFW6);
        this.toolBar.add(separatorFW9);
        this.toolBar.add(btnVoucher);
        this.toolBar.add(btnDelVoucher);
        this.toolBar.add(btnPCVoucher);
        this.toolBar.add(btnDelPCVoucher);
        this.toolBar.add(btnAuditResult);
        this.toolBar.add(btnMultiapprove);
        this.toolBar.add(btnWFViewdoProccess);
        this.toolBar.add(btnWFViewSubmitProccess);
        this.toolBar.add(btnNextPerson);


    }

	//Regiester control's property binding.
	private void registerBindings(){
		dataBinder.registerBinding("ccList.seq", int.class, this.kdtCcList, "seq.text");
		dataBinder.registerBinding("CcList", com.kingdee.eas.custom.integration.feishu.FeishuApprovalInstanceCcListInfo.class, this.kdtCcList, "userObject");
		dataBinder.registerBinding("ccList.user", Object.class, this.kdtCcList, "user.text");
		dataBinder.registerBinding("ccList.pcLink", String.class, this.kdtCcList, "pcLink.text");
		dataBinder.registerBinding("ccList.mobileLink", String.class, this.kdtCcList, "mobileLink.text");
		dataBinder.registerBinding("ccList.readStatus", com.kingdee.util.enums.Enum.class, this.kdtCcList, "readStatus.text");
		dataBinder.registerBinding("ccList.extra", String.class, this.kdtCcList, "extra.text");
		dataBinder.registerBinding("ccList.title", String.class, this.kdtCcList, "title.text");
		dataBinder.registerBinding("ccList.createTime", java.sql.Time.class, this.kdtCcList, "createTime.text");
		dataBinder.registerBinding("ccList.updateTime", java.sql.Time.class, this.kdtCcList, "updateTime.text");
		dataBinder.registerBinding("ccList.displayMethod", com.kingdee.util.enums.Enum.class, this.kdtCcList, "displayMethod.text");
		dataBinder.registerBinding("taskList.seq", int.class, this.kdtTaskList, "seq.text");
		dataBinder.registerBinding("TaskList", com.kingdee.eas.custom.integration.feishu.FeishuApprovalInstanceTaskListInfo.class, this.kdtTaskList, "userObject");
		dataBinder.registerBinding("taskList.taskId", String.class, this.kdtTaskList, "taskId.text");
		dataBinder.registerBinding("taskList.user", Object.class, this.kdtTaskList, "user.text");
		dataBinder.registerBinding("taskList.title", Object.class, this.kdtTaskList, "title.text");
		dataBinder.registerBinding("taskList.pcLink", String.class, this.kdtTaskList, "pcLink.text");
		dataBinder.registerBinding("taskList.mobileLink", String.class, this.kdtTaskList, "mobileLink.text");
		dataBinder.registerBinding("taskList.status", com.kingdee.util.enums.Enum.class, this.kdtTaskList, "status.text");
		dataBinder.registerBinding("taskList.extra", String.class, this.kdtTaskList, "extra.text");
		dataBinder.registerBinding("taskList.createTime", java.sql.Time.class, this.kdtTaskList, "createTime.text");
		dataBinder.registerBinding("taskList.endTime", java.sql.Time.class, this.kdtTaskList, "endTime.text");
		dataBinder.registerBinding("taskList.updateTime", java.sql.Time.class, this.kdtTaskList, "updateTime.text");
		dataBinder.registerBinding("taskList.actionContext", String.class, this.kdtTaskList, "actionContext.text");
		dataBinder.registerBinding("taskList.displayMethod", com.kingdee.util.enums.Enum.class, this.kdtTaskList, "displayMethod.text");
		dataBinder.registerBinding("taskList.excludeStatistics", boolean.class, this.kdtTaskList, "excludeStatistics.text");
		dataBinder.registerBinding("taskList.nodeId", String.class, this.kdtTaskList, "nodeId.text");
		dataBinder.registerBinding("taskList.nodeName", Object.class, this.kdtTaskList, "nodeName.text");
		dataBinder.registerBinding("taskList.generateType", String.class, this.kdtTaskList, "generateType.text");
		dataBinder.registerBinding("forms.seq", int.class, this.kdtForms, "seq.text");
		dataBinder.registerBinding("Forms", com.kingdee.eas.custom.integration.feishu.FeishuApprovalInstanceFormInfo.class, this.kdtForms, "userObject");
		dataBinder.registerBinding("forms.name", Object.class, this.kdtForms, "name.text");
		dataBinder.registerBinding("forms.value", Object.class, this.kdtForms, "value.text");
		dataBinder.registerBinding("creator", com.kingdee.eas.base.permission.UserInfo.class, this.prmtCreator, "data");
		dataBinder.registerBinding("createTime", java.sql.Timestamp.class, this.kDDateCreateTime, "value");
		dataBinder.registerBinding("lastUpdateUser", com.kingdee.eas.base.permission.UserInfo.class, this.prmtLastUpdateUser, "data");
		dataBinder.registerBinding("lastUpdateTime", java.sql.Timestamp.class, this.kDDateLastUpdateTime, "value");
		dataBinder.registerBinding("number", String.class, this.txtNumber, "text");
		dataBinder.registerBinding("bizDate", Date.class, this.pkBizDate, "value");
		dataBinder.registerBinding("description", String.class, this.txtDescription, "text");
		dataBinder.registerBinding("auditor", com.kingdee.eas.base.permission.UserInfo.class, this.prmtAuditor, "data");
		dataBinder.registerBinding("approval", com.kingdee.eas.custom.integration.feishu.FeishuApprovalsInfo.class, this.prmtapproval, "data");
		dataBinder.registerBinding("status", com.kingdee.eas.custom.integration.feishu.bizEnum.InstanceStatusEnum.class, this.status, "selectedItem");
		dataBinder.registerBinding("extra", String.class, this.txtextra, "text");
		dataBinder.registerBinding("instanceId", String.class, this.txtinstanceId, "text");
		dataBinder.registerBinding("pcLink", String.class, this.txtpcLink, "text");
		dataBinder.registerBinding("mobileLink", String.class, this.txtmobileLink, "text");
		dataBinder.registerBinding("title", com.kingdee.eas.custom.integration.feishu.FeishuI18nResourcesInfo.class, this.prmttitle, "data");
		dataBinder.registerBinding("user", com.kingdee.eas.base.permission.UserInfo.class, this.prmtuser, "data");
		dataBinder.registerBinding("department", com.kingdee.eas.basedata.org.AdminOrgUnitInfo.class, this.prmtdepartment, "data");
		dataBinder.registerBinding("startTime", java.sql.Time.class, this.startTime, "value");
		dataBinder.registerBinding("endTime", java.sql.Time.class, this.endTime, "value");
		dataBinder.registerBinding("updateTime", java.sql.Time.class, this.updateTime, "value");
		dataBinder.registerBinding("displayMethod", com.kingdee.eas.custom.integration.feishu.bizEnum.DisplayMethodEnum.class, this.displayMethod, "selectedItem");
		dataBinder.registerBinding("updateMode", com.kingdee.eas.custom.integration.feishu.bizEnum.InstanceUpdateModeEnum.class, this.updateMode, "selectedItem");
		dataBinder.registerBinding("syncStatus", com.kingdee.eas.custom.integration.feishu.bizEnum.SyncStatusEnum.class, this.syncStatus, "selectedItem");
		dataBinder.registerBinding("syncResult", String.class, this.txtsyncResult, "text");
		dataBinder.registerBinding("hrOrgUnit", com.kingdee.eas.basedata.org.HROrgUnitInfo.class, this.prmthrOrgUnit, "data");		
	}
	//Regiester UI State
	private void registerUIState(){		
	}
	public String getUIHandlerClassName() {
	    return "com.kingdee.eas.custom.integration.feishu.app.FeishuApprovalInstanceEditUIHandler";
	}
	public IUIActionPostman prepareInit() {
		IUIActionPostman clientHanlder = super.prepareInit();
		if (clientHanlder != null) {
			RequestContext request = new RequestContext();
    		request.setClassName(getUIHandlerClassName());
			clientHanlder.setRequestContext(request);
		}
		return clientHanlder;
    }
	
	public boolean isPrepareInit() {
    	return false;
    }
    protected void initUIP() {
        super.initUIP();
    }


    /**
     * output onShow method
     */
    public void onShow() throws Exception
    {
        super.onShow();
        this.prmtapproval.requestFocusInWindow();
    }

	
	

    /**
     * output setDataObject method
     */
    public void setDataObject(IObjectValue dataObject)
    {
        IObjectValue ov = dataObject;        	    	
        super.setDataObject(ov);
        this.editData = (com.kingdee.eas.custom.integration.feishu.FeishuApprovalInstanceInfo)ov;
    }
    protected void removeByPK(IObjectPK pk) throws Exception {
    	IObjectValue editData = this.editData;
    	super.removeByPK(pk);
    	recycleNumberByOrg(editData,"NONE",editData.getString("number"));
    }
    
    protected void recycleNumberByOrg(IObjectValue editData,String orgType,String number) {
        if (!StringUtils.isEmpty(number))
        {
            try {
            	String companyID = null;            
            	com.kingdee.eas.base.codingrule.ICodingRuleManager iCodingRuleManager = com.kingdee.eas.base.codingrule.CodingRuleManagerFactory.getRemoteInstance();
				if(!com.kingdee.util.StringUtils.isEmpty(orgType) && !"NONE".equalsIgnoreCase(orgType) && com.kingdee.eas.common.client.SysContext.getSysContext().getCurrentOrgUnit(com.kingdee.eas.basedata.org.OrgType.getEnum(orgType))!=null) {
					companyID =com.kingdee.eas.common.client.SysContext.getSysContext().getCurrentOrgUnit(com.kingdee.eas.basedata.org.OrgType.getEnum(orgType)).getString("id");
				}
				else if (com.kingdee.eas.common.client.SysContext.getSysContext().getCurrentOrgUnit() != null) {
					companyID = ((com.kingdee.eas.basedata.org.OrgUnitInfo)com.kingdee.eas.common.client.SysContext.getSysContext().getCurrentOrgUnit()).getString("id");
            	}				
				if (!StringUtils.isEmpty(companyID) && iCodingRuleManager.isExist(editData, companyID) && iCodingRuleManager.isUseIntermitNumber(editData, companyID)) {
					iCodingRuleManager.recycleNumber(editData,companyID,number);					
				}
            }
            catch (Exception e)
            {
                handUIException(e);
            }
        }
    }
    protected void setAutoNumberByOrg(String orgType) {
    	if (editData == null) return;
		if (editData.getNumber() == null) {
            try {
            	String companyID = null;
				if(!com.kingdee.util.StringUtils.isEmpty(orgType) && !"NONE".equalsIgnoreCase(orgType) && com.kingdee.eas.common.client.SysContext.getSysContext().getCurrentOrgUnit(com.kingdee.eas.basedata.org.OrgType.getEnum(orgType))!=null) {
					companyID = com.kingdee.eas.common.client.SysContext.getSysContext().getCurrentOrgUnit(com.kingdee.eas.basedata.org.OrgType.getEnum(orgType)).getString("id");
				}
				else if (com.kingdee.eas.common.client.SysContext.getSysContext().getCurrentOrgUnit() != null) {
					companyID = ((com.kingdee.eas.basedata.org.OrgUnitInfo)com.kingdee.eas.common.client.SysContext.getSysContext().getCurrentOrgUnit()).getString("id");
            	}
				com.kingdee.eas.base.codingrule.ICodingRuleManager iCodingRuleManager = com.kingdee.eas.base.codingrule.CodingRuleManagerFactory.getRemoteInstance();
		        if (iCodingRuleManager.isExist(editData, companyID)) {
		            if (iCodingRuleManager.isAddView(editData, companyID)) {
		            	editData.setNumber(iCodingRuleManager.getNumber(editData,companyID));
		            }
	                txtNumber.setEnabled(false);
		        }
            }
            catch (Exception e) {
                handUIException(e);
                this.oldData = editData;
                com.kingdee.eas.util.SysUtil.abort();
            } 
        } 
        else {
            if (editData.getNumber().trim().length() > 0) {
                txtNumber.setText(editData.getNumber());
            }
        }
    }

    /**
     * output loadFields method
     */
    public void loadFields()
    {
        		setAutoNumberByOrg("NONE");
        dataBinder.loadFields();
    }
		protected void setOrgF7(KDBizPromptBox f7,com.kingdee.eas.basedata.org.OrgType orgType) throws Exception
		{
			com.kingdee.eas.basedata.org.client.f7.NewOrgUnitFilterInfoProducer oufip = new com.kingdee.eas.basedata.org.client.f7.NewOrgUnitFilterInfoProducer(orgType);
			oufip.getModel().setIsCUFilter(true);
			f7.setFilterInfoProducer(oufip);
		}

    /**
     * output storeFields method
     */
    public void storeFields()
    {
		dataBinder.storeFields();
    }

	/**
	 * ????????§µ??
	 */
	protected void registerValidator() {
    	getValidateHelper().setCustomValidator( getValidator() );
		getValidateHelper().registerBindProperty("ccList.seq", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("CcList", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("ccList.user", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("ccList.pcLink", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("ccList.mobileLink", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("ccList.readStatus", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("ccList.extra", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("ccList.title", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("ccList.createTime", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("ccList.updateTime", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("ccList.displayMethod", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("taskList.seq", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("TaskList", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("taskList.taskId", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("taskList.user", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("taskList.title", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("taskList.pcLink", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("taskList.mobileLink", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("taskList.status", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("taskList.extra", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("taskList.createTime", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("taskList.endTime", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("taskList.updateTime", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("taskList.actionContext", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("taskList.displayMethod", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("taskList.excludeStatistics", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("taskList.nodeId", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("taskList.nodeName", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("taskList.generateType", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("forms.seq", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("Forms", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("forms.name", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("forms.value", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("creator", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("createTime", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("lastUpdateUser", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("lastUpdateTime", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("number", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("bizDate", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("description", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("auditor", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("approval", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("status", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("extra", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("instanceId", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("pcLink", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("mobileLink", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("title", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("user", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("department", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("startTime", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("endTime", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("updateTime", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("displayMethod", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("updateMode", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("syncStatus", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("syncResult", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("hrOrgUnit", ValidateHelper.ON_SAVE);    		
	}



    /**
     * output setOprtState method
     */
    public void setOprtState(String oprtType)
    {
        super.setOprtState(oprtType);
        if (STATUS_ADDNEW.equals(this.oprtState)) {
        } else if (STATUS_EDIT.equals(this.oprtState)) {
        } else if (STATUS_VIEW.equals(this.oprtState)) {
        } else if (STATUS_FINDVIEW.equals(this.oprtState)) {
        }
    }

    /**
     * output getSelectors method
     */
    public SelectorItemCollection getSelectors()
    {
        SelectorItemCollection sic = new SelectorItemCollection();
		String selectorAll = System.getProperty("selector.all");
		if(StringUtils.isEmpty(selectorAll)){
			selectorAll = "true";
		}
    	sic.add(new SelectorItemInfo("ccList.seq"));
		if(selectorAll.equalsIgnoreCase("true"))
		{
			sic.add(new SelectorItemInfo("CcList.*"));
		}
		else{
		}
		if(selectorAll.equalsIgnoreCase("true"))
		{
			sic.add(new SelectorItemInfo("ccList.user.*"));
		}
		else{
	    	sic.add(new SelectorItemInfo("ccList.user.id"));
			sic.add(new SelectorItemInfo("ccList.user.number"));
			sic.add(new SelectorItemInfo("ccList.user.name"));
		}
    	sic.add(new SelectorItemInfo("ccList.pcLink"));
    	sic.add(new SelectorItemInfo("ccList.mobileLink"));
    	sic.add(new SelectorItemInfo("ccList.readStatus"));
    	sic.add(new SelectorItemInfo("ccList.extra"));
    	sic.add(new SelectorItemInfo("ccList.title"));
    	sic.add(new SelectorItemInfo("ccList.createTime"));
    	sic.add(new SelectorItemInfo("ccList.updateTime"));
    	sic.add(new SelectorItemInfo("ccList.displayMethod"));
    	sic.add(new SelectorItemInfo("taskList.seq"));
		if(selectorAll.equalsIgnoreCase("true"))
		{
			sic.add(new SelectorItemInfo("TaskList.*"));
		}
		else{
		}
    	sic.add(new SelectorItemInfo("taskList.taskId"));
		if(selectorAll.equalsIgnoreCase("true"))
		{
			sic.add(new SelectorItemInfo("taskList.user.*"));
		}
		else{
	    	sic.add(new SelectorItemInfo("taskList.user.id"));
			sic.add(new SelectorItemInfo("taskList.user.number"));
			sic.add(new SelectorItemInfo("taskList.user.name"));
		}
		if(selectorAll.equalsIgnoreCase("true"))
		{
			sic.add(new SelectorItemInfo("taskList.title.*"));
		}
		else{
	    	sic.add(new SelectorItemInfo("taskList.title.id"));
			sic.add(new SelectorItemInfo("taskList.title.name"));
        	sic.add(new SelectorItemInfo("taskList.title.number"));
		}
    	sic.add(new SelectorItemInfo("taskList.pcLink"));
    	sic.add(new SelectorItemInfo("taskList.mobileLink"));
    	sic.add(new SelectorItemInfo("taskList.status"));
    	sic.add(new SelectorItemInfo("taskList.extra"));
    	sic.add(new SelectorItemInfo("taskList.createTime"));
    	sic.add(new SelectorItemInfo("taskList.endTime"));
    	sic.add(new SelectorItemInfo("taskList.updateTime"));
    	sic.add(new SelectorItemInfo("taskList.actionContext"));
    	sic.add(new SelectorItemInfo("taskList.displayMethod"));
    	sic.add(new SelectorItemInfo("taskList.excludeStatistics"));
    	sic.add(new SelectorItemInfo("taskList.nodeId"));
		if(selectorAll.equalsIgnoreCase("true"))
		{
			sic.add(new SelectorItemInfo("taskList.nodeName.*"));
		}
		else{
	    	sic.add(new SelectorItemInfo("taskList.nodeName.id"));
			sic.add(new SelectorItemInfo("taskList.nodeName.name"));
        	sic.add(new SelectorItemInfo("taskList.nodeName.number"));
		}
    	sic.add(new SelectorItemInfo("taskList.generateType"));
    	sic.add(new SelectorItemInfo("forms.seq"));
		if(selectorAll.equalsIgnoreCase("true"))
		{
			sic.add(new SelectorItemInfo("Forms.*"));
		}
		else{
			sic.add(new SelectorItemInfo("Forms.name"));
		}
		if(selectorAll.equalsIgnoreCase("true"))
		{
			sic.add(new SelectorItemInfo("forms.name.*"));
		}
		else{
	    	sic.add(new SelectorItemInfo("forms.name.id"));
			sic.add(new SelectorItemInfo("forms.name.name"));
        	sic.add(new SelectorItemInfo("forms.name.number"));
		}
		if(selectorAll.equalsIgnoreCase("true"))
		{
			sic.add(new SelectorItemInfo("forms.value.*"));
		}
		else{
	    	sic.add(new SelectorItemInfo("forms.value.id"));
			sic.add(new SelectorItemInfo("forms.value.name"));
        	sic.add(new SelectorItemInfo("forms.value.number"));
		}
		if(selectorAll.equalsIgnoreCase("true"))
		{
			sic.add(new SelectorItemInfo("creator.*"));
		}
		else{
        	sic.add(new SelectorItemInfo("creator.id"));
        	sic.add(new SelectorItemInfo("creator.number"));
        	sic.add(new SelectorItemInfo("creator.name"));
		}
        sic.add(new SelectorItemInfo("createTime"));
		if(selectorAll.equalsIgnoreCase("true"))
		{
			sic.add(new SelectorItemInfo("lastUpdateUser.*"));
		}
		else{
        	sic.add(new SelectorItemInfo("lastUpdateUser.id"));
        	sic.add(new SelectorItemInfo("lastUpdateUser.number"));
        	sic.add(new SelectorItemInfo("lastUpdateUser.name"));
		}
        sic.add(new SelectorItemInfo("lastUpdateTime"));
        sic.add(new SelectorItemInfo("number"));
        sic.add(new SelectorItemInfo("bizDate"));
        sic.add(new SelectorItemInfo("description"));
		if(selectorAll.equalsIgnoreCase("true"))
		{
			sic.add(new SelectorItemInfo("auditor.*"));
		}
		else{
        	sic.add(new SelectorItemInfo("auditor.id"));
        	sic.add(new SelectorItemInfo("auditor.number"));
        	sic.add(new SelectorItemInfo("auditor.name"));
		}
		if(selectorAll.equalsIgnoreCase("true"))
		{
			sic.add(new SelectorItemInfo("approval.*"));
		}
		else{
        	sic.add(new SelectorItemInfo("approval.id"));
        	sic.add(new SelectorItemInfo("approval.number"));
        	sic.add(new SelectorItemInfo("approval.name"));
        	sic.add(new SelectorItemInfo("approval.approvalCode"));
		}
        sic.add(new SelectorItemInfo("status"));
        sic.add(new SelectorItemInfo("extra"));
        sic.add(new SelectorItemInfo("instanceId"));
        sic.add(new SelectorItemInfo("pcLink"));
        sic.add(new SelectorItemInfo("mobileLink"));
		if(selectorAll.equalsIgnoreCase("true"))
		{
			sic.add(new SelectorItemInfo("title.*"));
		}
		else{
        	sic.add(new SelectorItemInfo("title.id"));
        	sic.add(new SelectorItemInfo("title.number"));
        	sic.add(new SelectorItemInfo("title.name"));
		}
		if(selectorAll.equalsIgnoreCase("true"))
		{
			sic.add(new SelectorItemInfo("user.*"));
		}
		else{
        	sic.add(new SelectorItemInfo("user.id"));
        	sic.add(new SelectorItemInfo("user.number"));
        	sic.add(new SelectorItemInfo("user.name"));
		}
		if(selectorAll.equalsIgnoreCase("true"))
		{
			sic.add(new SelectorItemInfo("department.*"));
		}
		else{
        	sic.add(new SelectorItemInfo("department.id"));
        	sic.add(new SelectorItemInfo("department.number"));
        	sic.add(new SelectorItemInfo("department.name"));
		}
        sic.add(new SelectorItemInfo("startTime"));
        sic.add(new SelectorItemInfo("endTime"));
        sic.add(new SelectorItemInfo("updateTime"));
        sic.add(new SelectorItemInfo("displayMethod"));
        sic.add(new SelectorItemInfo("updateMode"));
        sic.add(new SelectorItemInfo("syncStatus"));
        sic.add(new SelectorItemInfo("syncResult"));
		if(selectorAll.equalsIgnoreCase("true"))
		{
			sic.add(new SelectorItemInfo("hrOrgUnit.*"));
		}
		else{
        	sic.add(new SelectorItemInfo("hrOrgUnit.id"));
        	sic.add(new SelectorItemInfo("hrOrgUnit.number"));
        	sic.add(new SelectorItemInfo("hrOrgUnit.name"));
		}
        return sic;
    }        
    	

    /**
     * output actionSubmit_actionPerformed method
     */
    public void actionSubmit_actionPerformed(ActionEvent e) throws Exception
    {
        super.actionSubmit_actionPerformed(e);
    }
    	

    /**
     * output actionPrint_actionPerformed method
     */
    public void actionPrint_actionPerformed(ActionEvent e) throws Exception
    {
        ArrayList idList = new ArrayList();
    	if (editData != null && !StringUtils.isEmpty(editData.getString("id"))) {
    		idList.add(editData.getString("id"));
    	}
        if (idList == null || idList.size() == 0 || getTDQueryPK() == null || getTDFileName() == null)
            return;
        com.kingdee.bos.ctrl.kdf.data.impl.BOSQueryDelegate data = new com.kingdee.eas.framework.util.CommonDataProvider(idList,getTDQueryPK());
        com.kingdee.bos.ctrl.report.forapp.kdnote.client.KDNoteHelper appHlp = new com.kingdee.bos.ctrl.report.forapp.kdnote.client.KDNoteHelper();
        appHlp.print(getTDFileName(), data, javax.swing.SwingUtilities.getWindowAncestor(this));
    }
    	

    /**
     * output actionPrintPreview_actionPerformed method
     */
    public void actionPrintPreview_actionPerformed(ActionEvent e) throws Exception
    {
        ArrayList idList = new ArrayList();
        if (editData != null && !StringUtils.isEmpty(editData.getString("id"))) {
    		idList.add(editData.getString("id"));
    	}
        if (idList == null || idList.size() == 0 || getTDQueryPK() == null || getTDFileName() == null)
            return;
        com.kingdee.bos.ctrl.kdf.data.impl.BOSQueryDelegate data = new com.kingdee.eas.framework.util.CommonDataProvider(idList,getTDQueryPK());
        com.kingdee.bos.ctrl.report.forapp.kdnote.client.KDNoteHelper appHlp = new com.kingdee.bos.ctrl.report.forapp.kdnote.client.KDNoteHelper();
        appHlp.printPreview(getTDFileName(), data, javax.swing.SwingUtilities.getWindowAncestor(this));
    }
	public RequestContext prepareActionSubmit(IItemAction itemAction) throws Exception {
			RequestContext request = super.prepareActionSubmit(itemAction);		
		if (request != null) {
    		request.setClassName(getUIHandlerClassName());
		}
		return request;
    }
	
	public boolean isPrepareActionSubmit() {
    	return false;
    }
	public RequestContext prepareActionPrint(IItemAction itemAction) throws Exception {
			RequestContext request = super.prepareActionPrint(itemAction);		
		if (request != null) {
    		request.setClassName(getUIHandlerClassName());
		}
		return request;
    }
	
	public boolean isPrepareActionPrint() {
    	return false;
    }
	public RequestContext prepareActionPrintPreview(IItemAction itemAction) throws Exception {
			RequestContext request = super.prepareActionPrintPreview(itemAction);		
		if (request != null) {
    		request.setClassName(getUIHandlerClassName());
		}
		return request;
    }
	
	public boolean isPrepareActionPrintPreview() {
    	return false;
    }

    /**
     * output getMetaDataPK method
     */
    public IMetaDataPK getMetaDataPK()
    {
        return new MetaDataPK("com.kingdee.eas.custom.integration.feishu.client", "FeishuApprovalInstanceEditUI");
    }
    /**
     * output isBindWorkFlow method
     */
    public boolean isBindWorkFlow()
    {
        return true;
    }

    /**
     * output getEditUIName method
     */
    protected String getEditUIName()
    {
        return FeishuApprovalInstanceEditUI.class.getName();
    }

    /**
     * output getBizInterface method
     */
    protected com.kingdee.eas.framework.ICoreBase getBizInterface() throws Exception
    {
        return com.kingdee.eas.custom.integration.feishu.FeishuApprovalInstanceFactory.getRemoteInstance();
    }

    /**
     * output createNewData method
     */
    protected IObjectValue createNewData()
    {
        com.kingdee.eas.custom.integration.feishu.FeishuApprovalInstanceInfo objectValue = new com.kingdee.eas.custom.integration.feishu.FeishuApprovalInstanceInfo();
        objectValue.setCreator((com.kingdee.eas.base.permission.UserInfo)(com.kingdee.eas.common.client.SysContext.getSysContext().getCurrentUser()));		
        return objectValue;
    }


    	protected String getTDFileName() {
    	return "/bim/custom/integration/feishu/FeishuApprovalInstance";
	}
    protected IMetaDataPK getTDQueryPK() {
    	return new MetaDataPK("com.kingdee.eas.custom.integration.feishu.app.FeishuApprovalInstanceQuery");
	}
    

    /**
     * output getDetailTable method
     */
    protected KDTable getDetailTable() {
        return kdtCcList;
	}
    /**
     * output applyDefaultValue method
     */
    protected void applyDefaultValue(IObjectValue vo) {        
		vo.put("status","PENDING");
vo.put("displayMethod","BROWSER");
vo.put("updateMode","REPLACE");
vo.put("syncStatus","1");
        
    }        
	protected void setFieldsNull(AbstractObjectValue arg0) {
		super.setFieldsNull(arg0);
		arg0.put("number",null);
	}

}