@Override public void commit(boolean onSave) { ConfigPreferencesController prefController = (ConfigPreferencesController) controller.getPageController(page); if (prefController != null) { prefController.setPagesToStore(configPreferencesEditComposite.getInvolvedPages()); // .setDirtyConfigModules(configPreferencesEditComposite.getDirtyConfigModules()); } super.commit(onSave); configPreferencesEditComposite.clear(); }
/* (non-Javadoc) * @see org.eclipse.ui.forms.AbstractFormPart#dispose() */ @Override public void dispose() { if (configPreferencesEditComposite != null) configPreferencesEditComposite.removeConfigModuleChangedListener(this); super.dispose(); }