Register new file extensions for the php-editor:
[phpeclipse.git] / net.sourceforge.phpeclipse.ui / src / net / sourceforge / phpeclipse / ui / preferences / PHPMiscProjectPreferences.java
index c8b8145..480245a 100644 (file)
@@ -34,7 +34,7 @@ public class PHPMiscProjectPreferences extends FieldEditorOverlayPage
   
   protected void createFieldEditors() {
     Composite composite = getFieldEditorParent();
-
+    
     addField(new StringFieldEditor(IPreferenceConstants.PHP_LOCALHOST_PREF,
         PHPPreferencesMessages.getString("PHPMiscProjectPreferences.localhost"),
         composite));
@@ -44,10 +44,15 @@ public class PHPMiscProjectPreferences extends FieldEditorOverlayPage
     addField(new StringFieldEditor(IPreferenceConstants.PHP_DOCUMENTROOT_PREF,
         PHPPreferencesMessages.getString("PHPMiscProjectPreferences.documentroot"),
         composite)); 
-    addField(new PathEditor(IPreferenceConstants.PHP_INCLUDE_PATHS,
+   
+    PathEditor pe = new PathEditor(IPreferenceConstants.PHP_INCLUDE_PATHS,
         PHPPreferencesMessages.getString("PHPMiscProjectPreferences.include_paths"),
         "Choose Path...",
-        composite));
+        composite);
+    addField(pe);
+    
+    
+    
     //if (!isPropertyPage)) {
     //  
     //}