fix #6342: fix exception when using ? in selection dialog
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / preference / menu / StageMenuPreferences.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 eu.etaxonomy.cdm.model.common.DefinedTerm;
13 import eu.etaxonomy.cdm.model.common.TermType;
14
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<DefinedTerm> {
24
25 /**
26 * <p>Constructor for StageMenuPreferences.</p>
27 */
28 public StageMenuPreferences() {
29 super("Stage Preferences",
30 "Choose stages to be shown in selection combos",
31 false);
32 }
33
34 /* (non-Javadoc)
35 * @see eu.etaxonomy.taxeditor.preference.menu.AbstractMenuPreferences#getTermClass()
36 */
37 /** {@inheritDoc} */
38 @Override
39 protected TermType getTermType() {
40 return TermType.Stage;
41 }
42
43 }