deletet because wrongly uploaded
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / PHPEclipseParserPreferencePage.java
index 45b4179..0d3ecae 100644 (file)
@@ -2,7 +2,6 @@ package net.sourceforge.phpeclipse;
 
 import net.sourceforge.phpeclipse.preferences.PHPPreferencesMessages;
 
-import org.eclipse.jface.preference.BooleanFieldEditor;
 import org.eclipse.jface.preference.IPreferenceStore;
 import org.eclipse.jface.preference.PreferencePage;
 import org.eclipse.jface.preference.RadioGroupFieldEditor;
@@ -30,7 +29,7 @@ public class PHPEclipseParserPreferencePage extends PreferencePage implements IW
 
   RadioGroupFieldEditor chooseParser;
   StringFieldEditor externalParserSFE;
-  BooleanFieldEditor parseOnSave;
+ // BooleanFieldEditor parseOnSave;
 
   public PHPEclipseParserPreferencePage() {
     super();
@@ -42,14 +41,14 @@ public class PHPEclipseParserPreferencePage extends PreferencePage implements IW
   protected void performDefaults() {
     chooseParser.loadDefault();
     externalParserSFE.loadDefault();
-    parseOnSave.loadDefault();
+//    parseOnSave.loadDefault();
     super.performDefaults();
   }
 
   public boolean performOk() {
     chooseParser.store();
     externalParserSFE.store();
-    parseOnSave.store();
+//    parseOnSave.store();
     return super.performOk();
   }
 
@@ -99,14 +98,14 @@ public class PHPEclipseParserPreferencePage extends PreferencePage implements IW
     externalParserSFE.setPreferenceStore(getPreferenceStore());
     externalParserSFE.load();
 
-    parseOnSave =
-      new BooleanFieldEditor(
-        PHPeclipsePlugin.PHP_PARSE_ON_SAVE,
-        PHPPreferencesMessages.getString("PHPBasePreferencePage.parsers.pos"),
-        parserSettingsGroup);
-    parseOnSave.setPreferencePage(this);
-    parseOnSave.setPreferenceStore(getPreferenceStore());
-    parseOnSave.load();
+//    parseOnSave =
+//      new BooleanFieldEditor(
+//        PHPeclipsePlugin.PHP_PARSE_ON_SAVE,
+//        PHPPreferencesMessages.getString("PHPBasePreferencePage.parsers.pos"),
+//        parserSettingsGroup);
+//    parseOnSave.setPreferencePage(this);
+//    parseOnSave.setPreferenceStore(getPreferenceStore());
+//    parseOnSave.load();
 
     return composite;
   }