*** empty log message ***
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / PHPEclipseBasePreferencePage.java
index 8d55567..5dee0b0 100644 (file)
@@ -29,9 +29,9 @@ public class PHPEclipseBasePreferencePage extends PreferencePage implements IWor
 //  private ArrayList TextBoxes = new ArrayList();
 //  private ArrayList RadioButtons = new ArrayList();
 
-  StringFieldEditor localHostSFE;
-  DirectoryFieldEditor documentRootDFE;
-  BooleanFieldEditor showExternalPreviewBFE;
+//  StringFieldEditor localHostSFE;
+//  DirectoryFieldEditor documentRootDFE;
+//  BooleanFieldEditor showExternalPreviewBFE;
   BooleanFieldEditor externalBrowserBFE;
   StringFieldEditor externalBrowserSFE;
   StringFieldEditor apacheStartSFE;
@@ -57,9 +57,9 @@ public class PHPEclipseBasePreferencePage extends PreferencePage implements IWor
   public void init(IWorkbench workbench) {
   }
   protected void performDefaults() {
-    localHostSFE.loadDefault();
-    documentRootDFE.loadDefault();
-    showExternalPreviewBFE.loadDefault();
+//    localHostSFE.loadDefault();
+//    documentRootDFE.loadDefault();
+//    showExternalPreviewBFE.loadDefault();
     externalBrowserBFE.loadDefault();
     externalBrowserSFE.loadDefault();
     apacheStartSFE.loadDefault();
@@ -80,9 +80,9 @@ public class PHPEclipseBasePreferencePage extends PreferencePage implements IWor
   }
 
   public boolean performOk() {
-    localHostSFE.store();
-    documentRootDFE.store();
-    showExternalPreviewBFE.store();
+//    localHostSFE.store();
+//    documentRootDFE.store();
+//    showExternalPreviewBFE.store();
     externalBrowserBFE.store();
     externalBrowserSFE.store();
     apacheStartSFE.store();
@@ -113,14 +113,14 @@ public class PHPEclipseBasePreferencePage extends PreferencePage implements IWor
     //    webSettingsComposite.setLayout(new GridLayout());
     //    webSettingsComposite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
 
-    showExternalPreviewBFE =
-      new BooleanFieldEditor(
-        IPreferenceConstants.SHOW_EXTERNAL_PREVIEW_PREF,
-        PHPPreferencesMessages.getString("PHPBasePreferencePage.websettingsGroup.showexternalpreview"),
-        composite);
-    showExternalPreviewBFE.setPreferencePage(this);
-    showExternalPreviewBFE.setPreferenceStore(getPreferenceStore());
-    showExternalPreviewBFE.load();
+//    showExternalPreviewBFE =
+//      new BooleanFieldEditor(
+//        IPreferenceConstants.SHOW_EXTERNAL_PREVIEW_PREF,
+//        PHPPreferencesMessages.getString("PHPBasePreferencePage.websettingsGroup.showexternalpreview"),
+//        composite);
+//    showExternalPreviewBFE.setPreferencePage(this);
+//    showExternalPreviewBFE.setPreferenceStore(getPreferenceStore());
+//    showExternalPreviewBFE.load();
 
     //    Group webSettingsGroup = new Group(webSettingsComposite, SWT.NONE);
     //    webSettingsGroup.setText(PHPPreferencesMessages.getString("PHPBasePreferencePage.websettingsGroup"));
@@ -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());