|
|
@ -150,12 +150,4 @@ public class ConnectionListPane extends JListControlPane { |
|
|
|
datasourceManager.putConnection(nameObject.getName(), (Connection) nameObject.getObject()); |
|
|
|
datasourceManager.putConnection(nameObject.getName(), (Connection) nameObject.getObject()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
/** |
|
|
|
|
|
|
|
* 设置选中项 |
|
|
|
|
|
|
|
* |
|
|
|
|
|
|
|
* @param index 选中项的序列号 |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
public void setSelectedIndex(int index) { |
|
|
|
|
|
|
|
nameableList.setSelectedIndex(index); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |