had to rename the packages to make them compliant with buckminster
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / preference / menu / NomenclaturalStatusTypeMenuPreferences.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.NomenclaturalStatusType;
16 import eu.etaxonomy.taxeditor.store.TermStore;
17
18 /**
19 * <p>NomenclaturalStatusTypeMenuPreferences class.</p>
20 *
21 * @author n.hoffmann
22 * @created 25.06.2009
23 * @version 1.0
24 */
25 public class NomenclaturalStatusTypeMenuPreferences extends
26 AbstractMenuPreferences<NomenclaturalStatusType> {
27
28 /**
29 * <p>Constructor for NomenclaturalStatusTypeMenuPreferences.</p>
30 */
31 public NomenclaturalStatusTypeMenuPreferences() {
32 super("Nomenlcatural Status Type Preferences",
33 "Configure nomenclatural status types",
34 false);
35 }
36
37 /* (non-Javadoc)
38 * @see eu.etaxonomy.taxeditor.preference.menu.AbstractMenuPreferences#getTermClass()
39 */
40 /** {@inheritDoc} */
41 @Override
42 protected Class<NomenclaturalStatusType> getTermClass() {
43 return NomenclaturalStatusType.class;
44 }
45
46 /* (non-Javadoc)
47 * @see eu.etaxonomy.taxeditor.preference.menu.AbstractMenuPreferences#getTerms()
48 */
49 @Override
50 protected List<NomenclaturalStatusType> getTerms() {
51 return TermStore.getNomenclaturalStatusTypes();
52 }
53
54 }