ref #7268 Implement own extension point for preferences
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / preference / menu / PresenceAbsenceMenuPreferences.java
1 /**
2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
5 *
6 * The contents of this file are subject to the Mozilla Public License Version 1.1
7 * See LICENSE.TXT at the top of this package for the full license terms.
8 */
9
10 package eu.etaxonomy.taxeditor.preference.menu;
11
12 import eu.etaxonomy.cdm.model.common.TermType;
13 import eu.etaxonomy.cdm.model.description.PresenceAbsenceTerm;
14
15 /**
16 * <p>PresenceAbsenceMenuPreferences class.</p>
17 *
18 * @author n.hoffmann
19 * @created 25.06.2009
20 * @version 1.0
21 */
22 public class PresenceAbsenceMenuPreferences extends AbstractMenuPreferences<PresenceAbsenceTerm> {
23
24 public PresenceAbsenceMenuPreferences() {
25 super("Distribution Status Preferences",
26 "Choose which distribution states should be shown.",
27 false);
28 }
29
30 /** {@inheritDoc} */
31 @Override
32 protected TermType getTermType() {
33 return TermType.PresenceAbsenceTerm;
34 }
35
36 }