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 org
.eclipse
.ui
.IWorkbenchPreferencePage
;
13 import eu
.etaxonomy
.cdm
.model
.name
.Rank
;
14 import eu
.etaxonomy
.taxeditor
.store
.TermStore
;
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>.
25 public class RankMenuPreferences
extends AbstractMenuPreferences
<Rank
> implements
26 IWorkbenchPreferencePage
{
28 public static final String PLUGIN_ID
= "eu.etaxonomy.taxeditor.preferences.ranks";
30 public RankMenuPreferences() {
31 super(TermStore
.getRanks(),
33 "Choose which ranks to display in the property sheet drop-down menu.",