private void createNewConfiguration() { if (!saveSelectedConfiguration()) return; myList.setSelectedValue(null, false); CvsRootConfiguration newConfig = CvsApplicationLevelConfiguration.createNewConfiguration( CvsApplicationLevelConfiguration.getInstance()); myModel.addElement(newConfig); myList.setSelectedValue(newConfig, true); }
public void selectConfiguration(CvsRootConfiguration selectedConfiguration) { myList.setSelectedValue(selectedConfiguration, true); }
private void copySelectedConfiguration() { if (!saveSelectedConfiguration()) return; CvsRootConfiguration newConfig = mySelection.getMyCopy(); myModel.addElement(newConfig); myList.setSelectedValue(newConfig, true); }