Revision 9a3af936
Added by Patrick Plitzner about 7 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/menu/SpecimenTypeDesignationStatusMenuPreferences.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 |
*/ |
9 | 9 |
|
10 | 10 |
package eu.etaxonomy.taxeditor.preference.menu; |
11 | 11 |
|
12 |
import eu.etaxonomy.cdm.model.common.TermType; |
|
12 | 13 |
import eu.etaxonomy.cdm.model.name.SpecimenTypeDesignationStatus; |
13 | 14 |
|
14 | 15 |
/** |
... | ... | |
24 | 25 |
* <p>Constructor for SpecimenTypeDesignationStatusMenuPreferences.</p> |
25 | 26 |
*/ |
26 | 27 |
public SpecimenTypeDesignationStatusMenuPreferences() { |
27 |
super("Specimen Type Designation Status Preferences",
|
|
28 |
super("Specimen Type Designation Status Preferences", |
|
28 | 29 |
"Configure specimen type designation status", |
29 | 30 |
false); |
30 | 31 |
} |
... | ... | |
34 | 35 |
*/ |
35 | 36 |
/** {@inheritDoc} */ |
36 | 37 |
@Override |
37 |
protected Class<SpecimenTypeDesignationStatus> getTermClass() {
|
|
38 |
return SpecimenTypeDesignationStatus.class;
|
|
38 |
protected TermType getTermType() {
|
|
39 |
return TermType.SpecimenTypeDesignationStatus;
|
|
39 | 40 |
} |
40 | 41 |
|
41 | 42 |
} |
Also available in: Unified diff
fix #5496 Refactor preference pages to use TermType