|
|
@ -252,15 +252,16 @@ public class FormWidgetDetailPane extends FormDockView{ |
|
|
|
deleteButton.addActionListener(new ActionListener() { |
|
|
|
deleteButton.addActionListener(new ActionListener() { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void actionPerformed(ActionEvent e) { |
|
|
|
public void actionPerformed(ActionEvent e) { |
|
|
|
if(ShareLoader.getLoader().removeModulesFromMap()) { |
|
|
|
if(ShareLoader.getLoader().removeModulesFromList()) { |
|
|
|
ShareLoader.getLoader().removeModulesFromMap(); |
|
|
|
|
|
|
|
refreshShareMoudule(); |
|
|
|
refreshShareMoudule(); |
|
|
|
reuWidgetPanel.remove(deleteButton); |
|
|
|
reuWidgetPanel.remove(deleteButton); |
|
|
|
elCaseBindInfoList = ShareLoader.getLoader().getAllBindInfoList(); |
|
|
|
elCaseBindInfoList = ShareLoader.getLoader().getAllBindInfoList(); |
|
|
|
JOptionPane.showMessageDialog(null, Inter.getLocText("FR-Share_Module_Removed_Successful")); |
|
|
|
JOptionPane.showMessageDialog(null, Inter.getLocText("FR-Share_Module_Removed_Successful")); |
|
|
|
refreshDownPanel(false); |
|
|
|
refreshDownPanel(false); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
|
|
|
|
reuWidgetPanel.remove(deleteButton); |
|
|
|
JOptionPane.showMessageDialog(null, Inter.getLocText("FR-Share_Module_Removed_Failed")); |
|
|
|
JOptionPane.showMessageDialog(null, Inter.getLocText("FR-Share_Module_Removed_Failed")); |
|
|
|
|
|
|
|
refreshDownPanel(false); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|