0375bf2a8f692c236cbcbaf1f02b8f9ba774d0d7
2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
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.
9 package eu
.etaxonomy
.taxeditor
.preference
.menu
;
11 import java
.util
.List
;
13 import eu
.etaxonomy
.cdm
.model
.description
.Feature
;
14 import eu
.etaxonomy
.taxeditor
.store
.TermStore
;
17 * <p>FeatureMenuPreferences class.</p>
24 public class FeatureMenuPreferences
extends AbstractMenuPreferences
<Feature
> {
26 /** Constant <code>PLUGIN_ID="eu.etaxonomy.taxeditor.preferences.feat"{trunked}</code> */
27 public static final String PLUGIN_ID
= "eu.etaxonomy.taxeditor.preferences.feature";
30 * <p>Constructor for FeatureMenuPreferences.</p>
32 public FeatureMenuPreferences() {
33 super("Feature Preferences",
34 "Choose which features you would like to use for descriptive elements.",
39 * @see eu.etaxonomy.taxeditor.preference.menu.AbstractMenuPreferences#getTermClass()
43 protected Class
<Feature
> getTermClass() {
48 * @see eu.etaxonomy.taxeditor.preference.menu.AbstractMenuPreferences#getTerms()
51 protected List
<Feature
> getTerms() {
52 return TermStore
.getFeatures();