Merge branch 'develop' into LibrAlign
[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 org.eclipse.ui.IWorkbenchPreferencePage;
13
14 import eu.etaxonomy.cdm.model.common.TermType;
15 import eu.etaxonomy.cdm.model.description.PresenceAbsenceTerm;
16
17 /**
18 * <p>PresenceAbsenceMenuPreferences class.</p>
19 *
20 * @author n.hoffmann
21 * @created 25.06.2009
22 * @version 1.0
23 */
24 public class PresenceAbsenceMenuPreferences extends AbstractMenuPreferences<PresenceAbsenceTerm> implements
25 IWorkbenchPreferencePage {
26
27 /**
28 * <p>Constructor for PresenceAbsenceMenuPreferences.</p>
29 */
30 public PresenceAbsenceMenuPreferences() {
31 super("Distribution Status Preferences",
32 "Choose which distribution states should be shown.",
33 false);
34 }
35
36 /* (non-Javadoc)
37 * @see eu.etaxonomy.taxeditor.preference.menu.AbstractMenuPreferences#getTermClass()
38 */
39 /** {@inheritDoc} */
40 @Override
41 protected TermType getTermType() {
42 return TermType.PresenceAbsenceTerm;
43 }
44
45 }