xiaoxia 8 years ago
parent
commit
d352f856a8
  1. 3
      designer_form/src/com/fr/design/mainframe/FormWidgetDetailPane.java

3
designer_form/src/com/fr/design/mainframe/FormWidgetDetailPane.java

@ -133,6 +133,7 @@ public class FormWidgetDetailPane extends FormDockView{
* 初始化组件共享和复用面板
*/
private void initReuWidgetPanel() {
elCaseBindInfoList = ShareLoader.getLoader().getAllBindInfoList();
downPane = new UIScrollPane(new ShareWidgetPane(elCaseBindInfoList, false));
reuWidgetPanel.add(downPane);
}
@ -331,6 +332,7 @@ public class FormWidgetDetailPane extends FormDockView{
JOptionPane.showMessageDialog(null, Inter.getLocText("FR-Share_Module_Removed_Successful"));
refreshDownPanel(false);
replaceButtonPanel(false);
comboBox.setSelectedIndex(0);
} else {
JOptionPane.showMessageDialog(null, Inter.getLocText("FR-Share_Module_Removed_Failed"));
}
@ -360,6 +362,7 @@ public class FormWidgetDetailPane extends FormDockView{
refreshShareMoudule();
elCaseBindInfoList = ShareLoader.getLoader().getAllBindInfoList();
refreshDownPanel(false);
comboBox.setSelectedIndex(0);
JOptionPane.showMessageDialog(null, Inter.getLocText("FR-Share_Module_OK"));
} catch (IOException e) {
JOptionPane.showMessageDialog(null, Inter.getLocText("FR-Share_Module_Error"));

Loading…
Cancel
Save