|
|
|
@ -182,7 +182,7 @@ public class ConnectionListPane extends JListControlPane implements ConnectionSh
|
|
|
|
|
try { |
|
|
|
|
WorkContext.getCurrent().get(ConnectionOperator.class).saveConnection(connectionBeans); |
|
|
|
|
if (!WorkContext.getCurrent().isLocal()) { |
|
|
|
|
EventDispatcher.fire(RemoteConfigEvent.EDIT, ConnectionConfig.class.getSimpleName()); |
|
|
|
|
EventDispatcher.fire(RemoteConfigEvent.EDIT, ConnectionConfig.getInstance().getNameSpace()); |
|
|
|
|
} |
|
|
|
|
} catch (Exception e) { |
|
|
|
|
FineLoggerFactory.getLogger().error(e.getMessage(), e); |
|
|
|
@ -197,11 +197,6 @@ public class ConnectionListPane extends JListControlPane implements ConnectionSh
|
|
|
|
|
ConnectionConfig cloned = connectionConfig.mirror(); |
|
|
|
|
populate(cloned); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
protected void renameConnection(String oldName, String newName) { |
|
|
|
|
connectionConfig.renameConnection(oldName, newName); |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|
final BasicDialog connectionListDialog = connectionManagerPane.showLargeWindow(parent, null); |
|
|
|
|
connectionListDialog.addDialogActionListener(new ConnectionListDialogActionAdapter(connectionManagerPane, connectionListDialog, connectionConfig)); |
|
|
|
|