Browse Source

误删代码了

master
zack 9 years ago
parent
commit
27086ced57
  1. 8
      designer_base/src/com/fr/design/data/datapane/connect/ConnectionListPane.java

8
designer_base/src/com/fr/design/data/datapane/connect/ConnectionListPane.java

@ -150,4 +150,12 @@ 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);
}
} }
Loading…
Cancel
Save