FileFieldEditor phpRunFFE;
+ FileFieldEditor httpdConfFFE;
+
+ FileFieldEditor etcHostsFFE;
+
BooleanFieldEditor apacheStartBFE;
BooleanFieldEditor apacheStopBFE;
externalParserSFE.loadDefault();
phpRunFFE.loadDefault();
apacheRunFFE.loadDefault();
+ httpdConfFFE.loadDefault();
+ etcHostsFFE.loadDefault();
mysqlRunFFE.loadDefault();
apacheStartBFE.loadDefault();
apacheStopBFE.loadDefault();
externalParserSFE.store();
phpRunFFE.store();
apacheRunFFE.store();
+ httpdConfFFE.store();
+ etcHostsFFE.store();
mysqlRunFFE.store();
apacheStartBFE.store();
composite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
composite.setLayout(new GridLayout());
- // allowed PHP file extensions for parsing
- Composite phpParserExtensionsComposite = new Composite(composite, SWT.NULL);
- phpParserExtensionsComposite.setLayout(new GridLayout());
- phpParserExtensionsComposite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
-// phpParserExtensionsSFE = new StringFieldEditor(IPreferenceConstants.PHP_EXTENSION_PREFS, PHPPreferencesMessages
-// .getString("PHPBasePreferencePage.phpExtensionPrefs"), phpParserExtensionsComposite);
-// phpParserExtensionsSFE.setPreferencePage(this);
-// phpParserExtensionsSFE.setPreferenceStore(getPreferenceStore());
-// phpParserExtensionsSFE.load();
-
//Create apache
Composite apacheSettingsComposite = new Composite(composite, SWT.NULL);
apacheSettingsComposite.setLayout(new GridLayout());
apacheRunFFE.setPreferenceStore(getPreferenceStore());
apacheRunFFE.load();
+ httpdConfFFE = new FileFieldEditor(ExternalToolsPlugin.HTTPD_CONF_PATH_PREF,
+ "Path to httpd.conf:", apacheSettingsGroup);
+ httpdConfFFE.setPreferencePage(this);
+ httpdConfFFE.setPreferenceStore(getPreferenceStore());
+ httpdConfFFE.load();
+
+ etcHostsFFE = new FileFieldEditor(ExternalToolsPlugin.ETC_HOSTS_PATH_PREF,
+ "Path to etc/hosts:", apacheSettingsGroup);
+ etcHostsFFE.setPreferencePage(this);
+ etcHostsFFE.setPreferenceStore(getPreferenceStore());
+ etcHostsFFE.load();
+
phpRunFFE = new FileFieldEditor(ExternalToolsPlugin.PHP_RUN_PREF, PHPPreferencesMessages
.getString("PHPBasePreferencePage.console.php"), apacheSettingsGroup);
phpRunFFE.setPreferencePage(this);