misc
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / PHPEclipseBasePreferencePage.java
index 8d55567..78879bf 100644 (file)
@@ -31,7 +31,7 @@ public class PHPEclipseBasePreferencePage extends PreferencePage implements IWor
 
   StringFieldEditor localHostSFE;
   DirectoryFieldEditor documentRootDFE;
-  BooleanFieldEditor showExternalPreviewBFE;
+//  BooleanFieldEditor showExternalPreviewBFE;
   BooleanFieldEditor externalBrowserBFE;
   StringFieldEditor externalBrowserSFE;
   StringFieldEditor apacheStartSFE;
@@ -59,7 +59,7 @@ public class PHPEclipseBasePreferencePage extends PreferencePage implements IWor
   protected void performDefaults() {
     localHostSFE.loadDefault();
     documentRootDFE.loadDefault();
-    showExternalPreviewBFE.loadDefault();
+//    showExternalPreviewBFE.loadDefault();
     externalBrowserBFE.loadDefault();
     externalBrowserSFE.loadDefault();
     apacheStartSFE.loadDefault();
@@ -82,7 +82,7 @@ public class PHPEclipseBasePreferencePage extends PreferencePage implements IWor
   public boolean performOk() {
     localHostSFE.store();
     documentRootDFE.store();
-    showExternalPreviewBFE.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"));