some configurations checkbox to show or not class, vars and functions in outline
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / PHPEclipsePreferencePage.java
index b9ab7df..8a047f1 100644 (file)
@@ -79,7 +79,13 @@ public class PHPEclipsePreferencePage extends FieldEditorPreferencePage implemen
     BooleanFieldEditor parseOnSave =
       new BooleanFieldEditor(PHPeclipsePlugin.PHP_PARSE_ON_SAVE, "&Parse automatically on save", getFieldEditorParent());
 
-    
+      BooleanFieldEditor outlineShowClass =
+        new BooleanFieldEditor(PHPeclipsePlugin.PHP_OUTLINE_CLASS, "Show classes in outline", getFieldEditorParent());
+      BooleanFieldEditor outlineShowFunc =
+        new BooleanFieldEditor(PHPeclipsePlugin.PHP_OUTLINE_FUNC, "Show functions in outline", getFieldEditorParent());
+      BooleanFieldEditor outlineShowVar =
+        new BooleanFieldEditor(PHPeclipsePlugin.PHP_OUTLINE_VAR, "Show variables in outline", getFieldEditorParent());
+
     
     addField(localhost);
     addField(documentRoot);
@@ -95,6 +101,9 @@ public class PHPEclipsePreferencePage extends FieldEditorPreferencePage implemen
     
     addField(chooseParser);
     addField(parseOnSave);
+    addField(outlineShowClass) ;
+    addField(outlineShowFunc);
+    addField(outlineShowVar);
   }
 
   /**