Hint from Christian Buggle: Feature.xml is missing required refactoring plugins
[phpeclipse.git] / net.sourceforge.phpeclipse.ui / src / net / sourceforge / phpeclipse / ui / preferences / PHPMiscProjectPreferences.java
index c8b8145..40d9136 100644 (file)
@@ -10,7 +10,7 @@ import org.eclipse.swt.widgets.Composite;
 import org.eclipse.ui.IWorkbench;
 import org.eclipse.ui.IWorkbenchPreferencePage;
 /**
- * 
+ *
  * This page will be added to the project's property page dialog when the
  * "Properties..." popup menu item is selected
  */
@@ -25,31 +25,36 @@ public class PHPMiscProjectPreferences extends FieldEditorOverlayPage
   }
   /*
    * (non-Javadoc)
-   * 
+   *
    * @see com.bdaum.overlayPages.FieldEditorOverlayPage#getPageId()
    */
   protected String getPageId() {
     return PREF_ID;
   }
-  
+
   protected void createFieldEditors() {
     Composite composite = getFieldEditorParent();
 
     addField(new StringFieldEditor(IPreferenceConstants.PHP_LOCALHOST_PREF,
         PHPPreferencesMessages.getString("PHPMiscProjectPreferences.localhost"),
         composite));
-    addField(new StringFieldEditor(IPreferenceConstants.PHP_BOOKMARK_DEFAULT,
-        PHPPreferencesMessages.getString("PHPMiscProjectPreferences.bookmark"),
-        composite));
+//    addField(new StringFieldEditor(IPreferenceConstants.PHP_BOOKMARK_DEFAULT,
+//        PHPPreferencesMessages.getString("PHPMiscProjectPreferences.bookmark"),
+//        composite));
     addField(new StringFieldEditor(IPreferenceConstants.PHP_DOCUMENTROOT_PREF,
         PHPPreferencesMessages.getString("PHPMiscProjectPreferences.documentroot"),
-        composite)); 
-    addField(new PathEditor(IPreferenceConstants.PHP_INCLUDE_PATHS,
+        composite));
+
+    PathEditor pe = new PathEditor(IPreferenceConstants.PHP_INCLUDE_PATHS,
         PHPPreferencesMessages.getString("PHPMiscProjectPreferences.include_paths"),
         "Choose Path...",
-        composite));
+        composite);
+    addField(pe);
+
+
+
     //if (!isPropertyPage)) {
-    //  
+    //
     //}
   }
   /* (non-Javadoc)