ref #7849: remove OVERRIDE constants from IPreferenceKeys and handle it by method
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / preference / TaxonomicPreferences.java
index 47d0427ca1af22497833b471923ab6c756116e34..373c380cab79100c9b417686f1bf59cb0fdbe686 100644 (file)
@@ -1,21 +1,20 @@
 /**
 * Copyright (C) 2007 EDIT
-* European Distributed Institute of Taxonomy 
+* European Distributed Institute of Taxonomy
 * http://www.e-taxonomy.eu
-* 
+*
 * The contents of this file are subject to the Mozilla Public License Version 1.1
 * See LICENSE.TXT at the top of this package for the full license terms.
 */
 
 package eu.etaxonomy.taxeditor.preference;
 
-import org.eclipse.jface.preference.PreferencePage;
 import org.eclipse.swt.SWT;
 import org.eclipse.swt.layout.GridLayout;
 import org.eclipse.swt.widgets.Composite;
 import org.eclipse.swt.widgets.Control;
-import org.eclipse.ui.IWorkbench;
-import org.eclipse.ui.IWorkbenchPreferencePage;
+
+import eu.etaxonomy.taxeditor.preference.menu.CdmPreferencePage;
 
 /**
  * <p>TaxonomicPreferences class.</p>
@@ -24,19 +23,15 @@ import org.eclipse.ui.IWorkbenchPreferencePage;
  * @created 20.05.2008
  * @version 1.0
  */
-public class TaxonomicPreferences extends PreferencePage implements
-               IWorkbenchPreferencePage {
+public class TaxonomicPreferences extends CdmPreferencePage {
 
        /** Constant <code>PLUGIN_ID="eu.etaxonomy.taxeditor.taxonomic.prefer"{trunked}</code> */
        public static final String PLUGIN_ID = "eu.etaxonomy.taxeditor.taxonomic.preferences";
-       
-       /* (non-Javadoc)
-        * @see org.eclipse.jface.preference.PreferencePage#createContents(org.eclipse.swt.widgets.Composite)
-        */
+
        /** {@inheritDoc} */
        @Override
        protected Control createContents(Composite parent) {
-               
+
                Composite container = new Composite(parent, SWT.NULL);
                container.setLayout(new GridLayout());
 
@@ -44,11 +39,4 @@ public class TaxonomicPreferences extends PreferencePage implements
                return container;
        }
 
-       /* (non-Javadoc)
-        * @see org.eclipse.ui.IWorkbenchPreferencePage#init(org.eclipse.ui.IWorkbench)
-        */
-       /** {@inheritDoc} */
-       public void init(IWorkbench workbench) {
-
-       }
 }