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