| | |
| | | import com.vci.ubcs.codeapply.enums.CodeReferConfigTypeEnum; |
| | | import com.vci.ubcs.codeapply.object.UIFormRefer; |
| | | import com.vci.ubcs.codeapply.object.UIFormRefers; |
| | | import com.vci.ubcs.starter.web.pagemodel.KeyValue; |
| | | import org.apache.poi.ss.formula.functions.T; |
| | | |
| | | public class RMDataReferTempDialog extends VCIJDialog { |
| | |
| | | CodeReferTreePanel typeTreePanel; |
| | | private VCIBaseTree leftTree = null; |
| | | private VCIBaseTreeModel leftTreeModel = null; |
| | | private KeyValue keyValue; |
| | | public RMDataReferTempDialog(CodeApplyFor410MainPanel owner, CodeClassifyTemplateAttrVO codeClassifyTemplateAttr) { |
| | | //super(true); |
| | | this.owner = owner; |
| | |
| | | * 根据类型显示table |
| | | */ |
| | | private CodeDataMainPanel codeDataMainPanel = null; |
| | | private CodeDataMainPanelDataProvider dataProvider; |
| | | public CodeDataMainPanel getRMDataMainPanel() { |
| | | codeDataMainPanel=new CodeDataMainPanel(uiFormRefer); |
| | | CodeDataMainPanelDataProvider dataProvider=new CodeDataMainPanelDataProvider(codeDataMainPanel); |
| | | codeDataMainPanel.setDataProvider(dataProvider); |
| | | codeDataMainPanel.setCustomTopPanel(new attarSearchPanel(uiFormRefer)); |
| | | codeDataMainPanel.setCustomTopPanel(new AttarSearchPanel(uiFormRefer)); |
| | | codeDataMainPanel.buildPanel(); |
| | | VCIJTable table = codeDataMainPanel.getTablePanel().getTable(); |
| | | VCIJTable table = codeDataMainPanel.getTablePanel().getTable(); |
| | | table.addMouseListener(new MouseAdapter() { |
| | | public void mouseClicked(MouseEvent e) { |
| | | if (e.getButton() == 1 && e.getClickCount() == 2) { |
| | |
| | | private static final long serialVersionUID = 8121108576137012228L; |
| | | @Override |
| | | public void tree_valueChanged(TreeSelectionEvent e) { |
| | | |
| | | self.leftTree_valueChanged(e); |
| | | } |
| | | }; |
| | |
| | | * @param e |
| | | */ |
| | | private void leftTree_valueChanged(TreeSelectionEvent e) { |
| | | |
| | | btnOk.doClick(); |
| | | } |
| | | /***获取资源数据的主面板**/ |
| | | /* |
| | |
| | | return transmit; |
| | | }*/ |
| | | |
| | | public KeyValue getKeyValue() { |
| | | return keyValue; |
| | | } |
| | | |
| | | public void setKeyValue(KeyValue keyValue) { |
| | | this.keyValue = keyValue; |
| | | } |
| | | |
| | | public UIFormRefer getUiFormRefer() { |
| | | return uiFormRefer; |
| | | } |
| | | |
| | | public void setUiFormRefer(UIFormRefer uiFormRefer) { |
| | | this.uiFormRefer = uiFormRefer; |
| | | } |
| | | |
| | | public CodeReferTreePanel getTypeTreePanel() { |
| | | return typeTreePanel; |
| | | } |
| | | |
| | | public void setTypeTreePanel(CodeReferTreePanel typeTreePanel) { |
| | | this.typeTreePanel = typeTreePanel; |
| | | } |
| | | |
| | | public CodeDataMainPanel getCodeDataMainPanel() { |
| | | return codeDataMainPanel; |
| | | } |
| | | |
| | | public void setCodeDataMainPanel(CodeDataMainPanel codeDataMainPanel) { |
| | | this.codeDataMainPanel = codeDataMainPanel; |
| | | } |
| | | } |