Browse Source

修改

master
zack 9 years ago
parent
commit
52336f6123
  1. 10
      designer_base/src/com/fr/design/data/datapane/TableDataPaneListPane.java
  2. 8
      designer_base/src/com/fr/design/data/datapane/connect/ConnectionListPane.java
  3. 8
      designer_base/src/com/fr/design/gui/controlpane/JListControlPane.java

10
designer_base/src/com/fr/design/data/datapane/TableDataPaneListPane.java

@ -273,14 +273,4 @@ public class TableDataPaneListPane extends JListControlPane implements TableData
public JPanel getPanel() { public JPanel getPanel() {
return this; return this;
} }
/**
* 设置选中项
*
* @param index 选中项的序列号
*/
@Override
public void setSelectedIndex(int index) {
nameableList.setSelectedIndex(index);
}
} }

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

@ -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);
}
} }

8
designer_base/src/com/fr/design/gui/controlpane/JListControlPane.java

@ -954,5 +954,13 @@ public abstract class JListControlPane extends JControlPane {
} }
return false; return false;
} }
/**
* 设置选中项
*
* @param index 选中项的序列号
*/
public void setSelectedIndex(int index) {
nameableList.setSelectedIndex(index);
}
} }
Loading…
Cancel
Save