Revision 9a3af936
Added by Patrick Plitzner over 7 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/menu/StageMenuPreferences.java | ||
---|---|---|
1 | 1 |
/** |
2 | 2 |
* Copyright (C) 2007 EDIT |
3 |
* European Distributed Institute of Taxonomy
|
|
3 |
* European Distributed Institute of Taxonomy |
|
4 | 4 |
* http://www.e-taxonomy.eu |
5 |
*
|
|
5 |
* |
|
6 | 6 |
* The contents of this file are subject to the Mozilla Public License Version 1.1 |
7 | 7 |
* See LICENSE.TXT at the top of this package for the full license terms. |
8 | 8 |
*/ |
... | ... | |
10 | 10 |
package eu.etaxonomy.taxeditor.preference.menu; |
11 | 11 |
|
12 | 12 |
import eu.etaxonomy.cdm.model.common.DefinedTerm; |
13 |
import eu.etaxonomy.cdm.model.common.TermType; |
|
13 | 14 |
|
14 | 15 |
|
15 | 16 |
/** |
... | ... | |
20 | 21 |
* @version 1.0 |
21 | 22 |
*/ |
22 | 23 |
public class StageMenuPreferences extends AbstractMenuPreferences<DefinedTerm> { |
23 |
|
|
24 |
|
|
24 | 25 |
/** |
25 | 26 |
* <p>Constructor for StageMenuPreferences.</p> |
26 | 27 |
*/ |
27 | 28 |
public StageMenuPreferences() { |
28 |
super("Stage Preferences",
|
|
29 |
"Choose stages to be shown in selection combos",
|
|
29 |
super("Stage Preferences", |
|
30 |
"Choose stages to be shown in selection combos", |
|
30 | 31 |
false); |
31 | 32 |
} |
32 | 33 |
|
... | ... | |
35 | 36 |
*/ |
36 | 37 |
/** {@inheritDoc} */ |
37 | 38 |
@Override |
38 |
protected Class<DefinedTerm> getTermClass() {
|
|
39 |
return null;
|
|
39 |
protected TermType getTermType() {
|
|
40 |
return TermType.Stage;
|
|
40 | 41 |
} |
41 | 42 |
|
42 | 43 |
} |
Also available in: Unified diff
fix #5496 Refactor preference pages to use TermType