- commented compile errors due to model changes (Ticket #3732)
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / preference / menu / PreservationMethodMenuPreferences.java
index 9459ed7a60884e0cdb6b8ab32e7dc99506b08b49..4971cb3e625badaf0bb8170f5cb7c8bfba2467a7 100644 (file)
@@ -1,16 +1,16 @@
 // $Id$
 /**
 * 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.menu;
 
-import eu.etaxonomy.cdm.model.occurrence.PreservationMethod;
+import eu.etaxonomy.cdm.model.common.DefinedTerm;
 
 /**
  * <p>PreservationMethodMenuPreferences class.</p>
@@ -19,14 +19,17 @@ import eu.etaxonomy.cdm.model.occurrence.PreservationMethod;
  * @created Jun 25, 2010
  * @version 1.0
  */
-public class PreservationMethodMenuPreferences extends AbstractMenuPreferences<PreservationMethod> {
-       
+public class PreservationMethodMenuPreferences extends AbstractMenuPreferences<DefinedTerm> {
+  //FIXME:3.3MC----
+//extends AbstractMenuPreferences<PreservationMethod> {
+  //FIXME:3.3MC----
+
        /**
         * <p>Constructor for PreservationMethodMenuPreferences.</p>
         */
        public PreservationMethodMenuPreferences() {
-               super("Preservation Method Preferences", 
-                               "Select preservation methods to be shown in selections", 
+               super("Preservation Method Preferences",
+                               "Select preservation methods to be shown in selections",
                                false);
        }
 
@@ -35,7 +38,7 @@ public class PreservationMethodMenuPreferences extends AbstractMenuPreferences<P
         */
        /** {@inheritDoc} */
        @Override
-       protected Class<PreservationMethod> getTermClass() {
-               return PreservationMethod.class;
+       protected Class<DefinedTerm> getTermClass() {
+               return DefinedTerm.class;
        }
 }