*** empty log message ***
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / PHPEclipseBasePreferencePage.java
index 78879bf..5dee0b0 100644 (file)
@@ -29,8 +29,8 @@ public class PHPEclipseBasePreferencePage extends PreferencePage implements IWor
 //  private ArrayList TextBoxes = new ArrayList();
 //  private ArrayList RadioButtons = new ArrayList();
 
-  StringFieldEditor localHostSFE;
-  DirectoryFieldEditor documentRootDFE;
+//  StringFieldEditor localHostSFE;
+//  DirectoryFieldEditor documentRootDFE;
 //  BooleanFieldEditor showExternalPreviewBFE;
   BooleanFieldEditor externalBrowserBFE;
   StringFieldEditor externalBrowserSFE;
@@ -57,8 +57,8 @@ public class PHPEclipseBasePreferencePage extends PreferencePage implements IWor
   public void init(IWorkbench workbench) {
   }
   protected void performDefaults() {
-    localHostSFE.loadDefault();
-    documentRootDFE.loadDefault();
+//    localHostSFE.loadDefault();
+//    documentRootDFE.loadDefault();
 //    showExternalPreviewBFE.loadDefault();
     externalBrowserBFE.loadDefault();
     externalBrowserSFE.loadDefault();
@@ -80,8 +80,8 @@ public class PHPEclipseBasePreferencePage extends PreferencePage implements IWor
   }
 
   public boolean performOk() {
-    localHostSFE.store();
-    documentRootDFE.store();
+//    localHostSFE.store();
+//    documentRootDFE.store();
 //    showExternalPreviewBFE.store();
     externalBrowserBFE.store();
     externalBrowserSFE.store();
@@ -160,24 +160,24 @@ public class PHPEclipseBasePreferencePage extends PreferencePage implements IWor
     externalBrowserSFE.load();
     new Label(webSettingsGroup, SWT.NONE);
 
-    localHostSFE =
-      new StringFieldEditor(
-        IPreferenceConstants.LOCALHOST_PREF,
-        PHPPreferencesMessages.getString("PHPBasePreferencePage.websettingsGroup.localhost"),
-        webSettingsGroup);
-    localHostSFE.setPreferencePage(this);
-    localHostSFE.setPreferenceStore(getPreferenceStore());
-    localHostSFE.load();
+//    localHostSFE =
+//      new StringFieldEditor(
+//        IPreferenceConstants.LOCALHOST_PREF,
+//        PHPPreferencesMessages.getString("PHPBasePreferencePage.websettingsGroup.localhost"),
+//        webSettingsGroup);
+//    localHostSFE.setPreferencePage(this);
+//    localHostSFE.setPreferenceStore(getPreferenceStore());
+//    localHostSFE.load();
     new Label(webSettingsGroup, SWT.NONE);
 
-    documentRootDFE =
-      new DirectoryFieldEditor(
-        IPreferenceConstants.DOCUMENTROOT_PREF,
-        PHPPreferencesMessages.getString("PHPBasePreferencePage.websettingsGroup.docroot"),
-        webSettingsGroup);
-    documentRootDFE.setPreferencePage(this);
-    documentRootDFE.setPreferenceStore(getPreferenceStore());
-    documentRootDFE.load();
+//    documentRootDFE =
+//      new DirectoryFieldEditor(
+//        IPreferenceConstants.DOCUMENTROOT_PREF,
+//        PHPPreferencesMessages.getString("PHPBasePreferencePage.websettingsGroup.docroot"),
+//        webSettingsGroup);
+//    documentRootDFE.setPreferencePage(this);
+//    documentRootDFE.setPreferenceStore(getPreferenceStore());
+//    documentRootDFE.load();
     //Create apache
     Composite apacheSettingsComposite = new Composite(composite, SWT.NULL);
     apacheSettingsComposite.setLayout(new GridLayout());