Fixes adding, editing and deleting of terms in preferences. "About the EDIT Platform...
[taxeditor.git] / taxeditor-store / src / main / java / eu / etaxonomy / taxeditor / preference / menu / SpecimenTypeDesignationStatusMenuPreferences.java
1 // $Id$
2 /**
3 * Copyright (C) 2007 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
6 *
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
9 */
10
11 package eu.etaxonomy.taxeditor.preference.menu;
12
13 import java.util.List;
14
15 import eu.etaxonomy.cdm.model.name.SpecimenTypeDesignationStatus;
16 import eu.etaxonomy.taxeditor.store.TermStore;
17
18 /**
19 * <p>SpecimenTypeDesignationStatusMenuPreferences class.</p>
20 *
21 * @author n.hoffmann
22 * @created 25.06.2009
23 * @version 1.0
24 */
25 public class SpecimenTypeDesignationStatusMenuPreferences extends
26 AbstractMenuPreferences<SpecimenTypeDesignationStatus> {
27 /**
28 * <p>Constructor for SpecimenTypeDesignationStatusMenuPreferences.</p>
29 */
30 public SpecimenTypeDesignationStatusMenuPreferences() {
31 super("Specimen Type Designation Status Preferences",
32 "Configure specimen type designation status",
33 false);
34 }
35
36 /* (non-Javadoc)
37 * @see eu.etaxonomy.taxeditor.preference.menu.AbstractMenuPreferences#getTermClass()
38 */
39 /** {@inheritDoc} */
40 @Override
41 protected Class<SpecimenTypeDesignationStatus> getTermClass() {
42 return SpecimenTypeDesignationStatus.class;
43 }
44
45 /* (non-Javadoc)
46 * @see eu.etaxonomy.taxeditor.preference.menu.AbstractMenuPreferences#getTerms()
47 */
48 @Override
49 protected List<SpecimenTypeDesignationStatus> getTerms() {
50 return TermStore.getSpecimenTypeDesignationStatus();
51 }
52
53 }