// 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;
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();
}
public boolean performOk() {
- localHostSFE.store();
- documentRootDFE.store();
- showExternalPreviewBFE.store();
+// localHostSFE.store();
+// documentRootDFE.store();
+// showExternalPreviewBFE.store();
externalBrowserBFE.store();
externalBrowserSFE.store();
apacheStartSFE.store();
// 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"));
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());