improved layout for view.
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / preferences / PHPMiscProjectPreferences.java
index 4a865a4..d158491 100644 (file)
@@ -31,17 +31,19 @@ public class PHPMiscProjectPreferences extends FieldEditorOverlayPage
   protected String getPageId() {
     return PREF_ID;
   }
-  /*
-   * (non-Javadoc)
-   * 
-   * @see org.eclipse.jface.preference.FieldEditorPreferencePage#createFieldEditors()
-   */
+  
   protected void createFieldEditors() {
     Composite composite = getFieldEditorParent();
+
+    addField(new StringFieldEditor(IPreferenceConstants.PHP_LOCALHOST_PREF,
+        PHPPreferencesMessages.getString("PHPMiscProjectPreferences.localhost"),
+        composite));
+    addField(new StringFieldEditor(IPreferenceConstants.PHP_DOCUMENTROOT_PREF,
+        PHPPreferencesMessages.getString("PHPMiscProjectPreferences.documentroot"),
+        composite)); 
     addField(new StringFieldEditor(IPreferenceConstants.PHP_BOOKMARK_DEFAULT,
         PHPPreferencesMessages.getString("PHPMiscProjectPreferences.bookmark"),
         composite));
-    
     //if (!isPropertyPage)) {
     //  
     //}