@Nullable public String getHelpTopic() { if (myEditors.isEmpty()) { return null; } final ModuleConfigurationEditor selectedEditor = getSelectedEditor(); return selectedEditor != null ? selectedEditor.getHelpTopic() : null; }
public boolean isModified() { for (ModuleConfigurationEditor moduleElementsEditor : myEditors) { if (moduleElementsEditor.isModified()) { return true; } } return false; }
private void updateOrderEntriesInEditors() { if (getModule() != null) { // module with attached module libraries was deleted getPanel(); // init editor if needed for (final ModuleConfigurationEditor myEditor : myEditors) { myEditor.moduleStateChanged(); } myEventDispatcher.getMulticaster().moduleStateChanged(getModifiableRootModelProxy()); } }
public ModifiableRootModel apply() throws ConfigurationException { try { for (ModuleConfigurationEditor editor : myEditors) { editor.saveData(); editor.apply(); } return myModifiableRootModel; } finally { myModifiableRootModel = null; myModifiableRootModelProxy = null; } }
public void dispose() { try { for (final ModuleConfigurationEditor myEditor : myEditors) { myEditor.disposeUIResources(); } myEditors.clear(); disposeCenterPanel(); if (myModifiableRootModel != null) { myModifiableRootModel.dispose(); } myGenericSettingsPanel = null; } finally { myModifiableRootModel = null; myModifiableRootModelProxy = null; } }