@Override public void initializeDefaultPreferences() { IPreferenceStore store = Activator.getDefault().getPreferenceStore(); store.setDefault(MDHTPreferences.CARDINALITY_STORE_VALUE, false); Activator.getDefault().getPreferenceStore().addPropertyChangeListener(changeListener); }
/** * The <code>ReadmePreferencePage</code> implementation of this <code>PreferencePage</code> method * returns preference store that belongs to the our plugin. This is important because we want to * store our preferences separately from the workbench. */ @Override protected IPreferenceStore doGetPreferenceStore() { return Activator.getDefault().getPreferenceStore(); }