|
|
@ -49,8 +49,6 @@ public class FormWidgetDetailPane extends FormDockView{ |
|
|
|
private JPanel reuWidgetPanel; |
|
|
|
private JPanel reuWidgetPanel; |
|
|
|
private UIComboBox comboBox; |
|
|
|
private UIComboBox comboBox; |
|
|
|
private ElCaseBindInfo[] elCaseBindInfoList; |
|
|
|
private ElCaseBindInfo[] elCaseBindInfoList; |
|
|
|
private UIButton downloadButton; |
|
|
|
|
|
|
|
private UIButton refreshButton; |
|
|
|
|
|
|
|
private UIButton deleteButton; |
|
|
|
private UIButton deleteButton; |
|
|
|
private UIButton resetButton; |
|
|
|
private UIButton resetButton; |
|
|
|
private JPanel editPanel; |
|
|
|
private JPanel editPanel; |
|
|
@ -149,7 +147,7 @@ public class FormWidgetDetailPane extends FormDockView{ |
|
|
|
menutPanel.add(new UILabel(Inter.getLocText("FR-Designer_LocalWidget"), |
|
|
|
menutPanel.add(new UILabel(Inter.getLocText("FR-Designer_LocalWidget"), |
|
|
|
SwingConstants.HORIZONTAL), BorderLayout.WEST); |
|
|
|
SwingConstants.HORIZONTAL), BorderLayout.WEST); |
|
|
|
|
|
|
|
|
|
|
|
menutPanel.add(initButtonPane(), BorderLayout.EAST); |
|
|
|
menutPanel.add(initEditButtonPane(), BorderLayout.EAST); |
|
|
|
menutPanel.add(new JPanel(), BorderLayout.CENTER); |
|
|
|
menutPanel.add(new JPanel(), BorderLayout.CENTER); |
|
|
|
comboBox = new UIComboBox(getFormCategories()); |
|
|
|
comboBox = new UIComboBox(getFormCategories()); |
|
|
|
comboBox.setPreferredSize(new Dimension(240, 30)); |
|
|
|
comboBox.setPreferredSize(new Dimension(240, 30)); |
|
|
@ -162,7 +160,7 @@ public class FormWidgetDetailPane extends FormDockView{ |
|
|
|
/** |
|
|
|
/** |
|
|
|
* 创建菜单栏按钮面板 |
|
|
|
* 创建菜单栏按钮面板 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
private JPanel initButtonPane() { |
|
|
|
private JPanel initEditButtonPane() { |
|
|
|
editPanel = new JPanel(); |
|
|
|
editPanel = new JPanel(); |
|
|
|
editPanel.setLayout(FRGUIPaneFactory.createBorderLayout()); |
|
|
|
editPanel.setLayout(FRGUIPaneFactory.createBorderLayout()); |
|
|
|
editPanel.add(createRefreshButton(), BorderLayout.WEST); |
|
|
|
editPanel.add(createRefreshButton(), BorderLayout.WEST); |
|
|
@ -217,7 +215,7 @@ public class FormWidgetDetailPane extends FormDockView{ |
|
|
|
* 创建刷新按钮 |
|
|
|
* 创建刷新按钮 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
private UIButton createRefreshButton() { |
|
|
|
private UIButton createRefreshButton() { |
|
|
|
refreshButton = new UIButton(); |
|
|
|
UIButton refreshButton = new UIButton(); |
|
|
|
refreshButton.setIcon(BaseUtils.readIcon("/com/fr/design/form/images/refresh.png")); |
|
|
|
refreshButton.setIcon(BaseUtils.readIcon("/com/fr/design/form/images/refresh.png")); |
|
|
|
refreshButton.setToolTipText(Inter.getLocText("FR-Designer_Refresh")); |
|
|
|
refreshButton.setToolTipText(Inter.getLocText("FR-Designer_Refresh")); |
|
|
|
refreshButton.set4ToolbarButton(); |
|
|
|
refreshButton.set4ToolbarButton(); |
|
|
@ -248,7 +246,7 @@ public class FormWidgetDetailPane extends FormDockView{ |
|
|
|
* 创建下载模板的按钮 |
|
|
|
* 创建下载模板的按钮 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
private UIButton createDownloadButton() { |
|
|
|
private UIButton createDownloadButton() { |
|
|
|
downloadButton = new UIButton(); |
|
|
|
UIButton downloadButton = new UIButton(); |
|
|
|
downloadButton.setIcon(BaseUtils.readIcon("/com/fr/design/form/images/showmenu.png")); |
|
|
|
downloadButton.setIcon(BaseUtils.readIcon("/com/fr/design/form/images/showmenu.png")); |
|
|
|
downloadButton.set4ToolbarButton(); |
|
|
|
downloadButton.set4ToolbarButton(); |
|
|
|
downloadButton.setToolTipText(Inter.getLocText("FR-Designer_Download_Template")); |
|
|
|
downloadButton.setToolTipText(Inter.getLocText("FR-Designer_Download_Template")); |
|
|
@ -350,7 +348,8 @@ public class FormWidgetDetailPane extends FormDockView{ |
|
|
|
menutPanel.add(initResetButtonPane(), BorderLayout.EAST); |
|
|
|
menutPanel.add(initResetButtonPane(), BorderLayout.EAST); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
menutPanel.remove(resetPanel); |
|
|
|
menutPanel.remove(resetPanel); |
|
|
|
menutPanel.add(initButtonPane(), BorderLayout.EAST); |
|
|
|
menutPanel.add(initEditButtonPane(), BorderLayout.EAST); |
|
|
|
|
|
|
|
ShareLoader.getLoader().resetRemovedModuleList(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|