示例#1
0
 /** This method is called upon plug-in activation */
 public void start(BundleContext context) throws Exception {
   super.start(context);
   resourceBundle = Platform.getResourceBundle(getBundle());
   Defaults.applyDefaults(getPreferenceStore());
   javaDomain = new JavaSettings(getPreferenceStore());
 }
示例#2
0
 public static void restoreToDefaults() {
   Defaults.restoreDefaults(getPrefs());
 }