Project

General

Profile

« Previous | Next » 

Revision 9a3af936

Added by Patrick Plitzner over 7 years ago

fix #5496 Refactor preference pages to use TermType

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/menu/NameTypeDesignationStatusMenuPreferences.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.NameTypeDesignationStatus;
13 14

  
14 15
/**
......
24 25
	 * <p>Constructor for NameTypeDesignationStatusMenuPreferences.</p>
25 26
	 */
26 27
	public NameTypeDesignationStatusMenuPreferences() {
27
		super("Name Type Designation Status Preferences", 
28
		super("Name Type Designation Status Preferences",
28 29
				"Configure name type designation status",
29 30
				false);
30 31
	}
......
34 35
	 */
35 36
	/** {@inheritDoc} */
36 37
	@Override
37
	protected Class<NameTypeDesignationStatus> getTermClass() {
38
		return NameTypeDesignationStatus.class;
38
	protected TermType getTermType() {
39
		return TermType.NameTypeDesignationStatus;
39 40
	}
40 41

  
41 42
}

Also available in: Unified diff