Hint from Christian Buggle: Feature.xml is missing required refactoring plugins
[phpeclipse.git] / net.sourceforge.phpeclipse.ui / src / net / sourceforge / phpeclipse / ui / preferences / PHPPreviewProjectPreferences.java
index b85e6d4..8ff6e31 100644 (file)
@@ -9,7 +9,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
  */
@@ -17,13 +17,13 @@ public class PHPPreviewProjectPreferences extends FieldEditorOverlayPage
     implements
       IWorkbenchPreferencePage {
   public final static String PREF_ID = "net.sourceforge.phpeclipse.preferences.PHPPreviewProjectPreferences";
-  
+
   public PHPPreviewProjectPreferences() {
     super(GRID, true);
   }
   /*
    * (non-Javadoc)
-   * 
+   *
    * @see com.bdaum.overlayPages.FieldEditorOverlayPage#getPageId()
    */
   protected String getPageId() {
@@ -31,7 +31,7 @@ public class PHPPreviewProjectPreferences extends FieldEditorOverlayPage
   }
   /*
    * (non-Javadoc)
-   * 
+   *
    * @see org.eclipse.jface.preference.FieldEditorPreferencePage#createFieldEditors()
    */
   protected void createFieldEditors() {
@@ -42,16 +42,19 @@ public class PHPPreviewProjectPreferences extends FieldEditorOverlayPage
     addField(new BooleanFieldEditor(
         IPreferenceConstants.PHP_BRING_TO_TOP_PREVIEW_DEFAULT, PHPPreferencesMessages
             .getString("PHPPreviewProjectPreferences.bring_to_top_preview"), composite));
-    addField(new BooleanFieldEditor(
-        IPreferenceConstants.PHP_SHOW_HTML_FILES_LOCAL, PHPPreferencesMessages
-            .getString("PHPPreviewProjectPreferences.show_html_files_local"), composite));
+//    addField(new BooleanFieldEditor(
+//        IPreferenceConstants.PHP_SHOW_HTML_FILES_LOCAL, PHPPreferencesMessages
+//            .getString("PHPPreviewProjectPreferences.show_html_files_local"), composite));
+//    addField(new BooleanFieldEditor(
+//        IPreferenceConstants.PHP_SHOW_XML_FILES_LOCAL, PHPPreferencesMessages
+//            .getString("PHPPreviewProjectPreferences.show_xml_files_local"), composite));
     //if (!isPropertyPage)) {
-    //  
+    //
     //}
   }
   /*
    * (non-Javadoc)
-   * 
+   *
    * @see org.eclipse.jface.preference.PreferencePage#doGetPreferenceStore()
    */
   protected IPreferenceStore doGetPreferenceStore() {
@@ -59,7 +62,7 @@ public class PHPPreviewProjectPreferences extends FieldEditorOverlayPage
   }
   /*
    * (non-Javadoc)
-   * 
+   *
    * @see org.eclipse.ui.IWorkbenchPreferencePage#init(org.eclipse.ui.IWorkbench)
    */
   public void init(IWorkbench workbench) {