예제 #1
0
 @Override
 public void initializeDefaultPreferences() {
   IPreferenceStore store = Activator.getDefault().getPreferenceStore();
   store.setDefault(MDHTPreferences.CARDINALITY_STORE_VALUE, false);
   Activator.getDefault().getPreferenceStore().addPropertyChangeListener(changeListener);
 }
예제 #2
0
 /**
  * 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();
 }