performed javacscript:fix and worked on documentation
[taxeditor.git] / taxeditor-store / src / main / java / eu / etaxonomy / taxeditor / preference / menu / StageMenuPreferences.java
1 // $Id$
2 /**
3 * Copyright (C) 2007 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
6 *
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
9 */
10
11 package eu.etaxonomy.taxeditor.preference.menu;
12
13 import eu.etaxonomy.cdm.model.description.Stage;
14 import eu.etaxonomy.taxeditor.store.TermStore;
15
16 /**
17 * <p>StageMenuPreferences class.</p>
18 *
19 * @author n.hoffmann
20 * @created Jun 25, 2010
21 * @version 1.0
22 */
23 public class StageMenuPreferences extends AbstractMenuPreferences<Stage> {
24
25 /**
26 * <p>Constructor for StageMenuPreferences.</p>
27 */
28 public StageMenuPreferences() {
29 super(TermStore.getStages(),
30 "Stage Preferences",
31 "Choose stages to be shown in selection combos",
32 false);
33 }
34
35 /* (non-Javadoc)
36 * @see eu.etaxonomy.taxeditor.preference.menu.AbstractMenuPreferences#getTermClass()
37 */
38 /** {@inheritDoc} */
39 @Override
40 protected Class<Stage> getTermClass() {
41 return Stage.class;
42 }
43 }