#823
[taxeditor.git] / taxeditor-store / src / main / java / eu / etaxonomy / taxeditor / preference / RankMenuPreferences.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 package eu.etaxonomy.taxeditor.preference;
10
11 import org.eclipse.ui.IWorkbenchPreferencePage;
12
13 import eu.etaxonomy.cdm.model.name.Rank;
14 import eu.etaxonomy.taxeditor.store.VocabularyStore;
15
16 /**
17 * Allows the user to choose which <code>Rank</code>s to display in the
18 * <code>PropertySheet</code> drop-down menu for <code>TaxonNameBase</code>.
19 *
20 * @author p.ciardelli
21 * @created 17.09.2008
22 * @version 1.0
23 * @author n.hoffmann
24 */
25 public class RankMenuPreferences extends AbstractMenuPreferences<Rank> implements
26 IWorkbenchPreferencePage {
27
28 public static final String PLUGIN_ID = "eu.etaxonomy.taxeditor.preferences.ranks";
29
30 public RankMenuPreferences() {
31 super(VocabularyStore.getRanks(),
32 "Rank Preferences",
33 "Choose which ranks to display in the property sheet drop-down menu.",
34 false);
35 }
36
37 }