Added a new PHP Parser Preference Page (global and on project level)
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / PHPOutlinePreferencePage.java
diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/PHPOutlinePreferencePage.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/PHPOutlinePreferencePage.java
deleted file mode 100644 (file)
index fd8cf0d..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-/**********************************************************************
-Copyright (c) 2000, 2002 IBM Corp. and others.
-All rights reserved. This program and the accompanying materials
-are made available under the terms of the Common Public License v1.0
-which accompanies this distribution, and is available at
-http://www.eclipse.org/legal/cpl-v10.html
-
-Contributors:
-    IBM Corporation - Initial implementation
-    Klaus Hartlage - www.eclipseproject.de
-**********************************************************************/
-package net.sourceforge.phpeclipse;
-
-import org.eclipse.jface.preference.BooleanFieldEditor;
-import org.eclipse.jface.preference.FieldEditorPreferencePage;
-import org.eclipse.jface.preference.IPreferenceStore;
-import org.eclipse.ui.IWorkbench;
-import org.eclipse.ui.IWorkbenchPreferencePage;
-
-/**
- * 
- * @author khartlage
- */
-public class PHPOutlinePreferencePage extends FieldEditorPreferencePage implements IWorkbenchPreferencePage {
-
-  public PHPOutlinePreferencePage() {
-    super(FieldEditorPreferencePage.GRID);
-    //Initialize the preference store we wish to use
-    setPreferenceStore(PHPeclipsePlugin.getDefault().getPreferenceStore());
-  }
-
-  protected void createFieldEditors() {
-    final IPreferenceStore store = PHPeclipsePlugin.getDefault().getPreferenceStore();
-
-    
-    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(outlineShowClass);
-    addField(outlineShowFunc);
-    addField(outlineShowVar);
-  }
-
-  /**
-   * @see IWorkbenchPreferencePage#init
-   */
-  public void init(IWorkbench workbench) {
-  }
-
-}