environmentTypesTable.getSelectedRow() < environmentTypesTable.getModel().getRowCount() - 1);
}
public void applyChanges() throws ConfigurationException {
EnvironmentSettings settings = getConfiguration();
EnvironmentTypesTableModel model = environmentTypesTable.getModel();
model.validate();
EnvironmentTypeBundle environmentTypeBundle = model.getEnvironmentTypes();
boolean settingsChanged = settings.setEnvironmentTypes(environmentTypeBundle);
EnvironmentVisibilitySettings visibilitySettings = settings.getVisibilitySettings();
boolean visibilityChanged =
visibilitySettings.getConnectionTabs().applyChanges(connectionTabsCheckBox) ||
visibilitySettings.getObjectEditorTabs().applyChanges(objectEditorTabsCheckBox) ||
visibilitySettings.getScriptEditorTabs().applyChanges(scriptEditorTabsCheckBox)||
visibilitySettings.getDialogHeaders().applyChanges(dialogHeadersCheckBox)||