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/ExtensionTypeMenuPreferences.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.ExtensionType;
13
import eu.etaxonomy.cdm.model.common.TermType;
13 14

  
14 15
/**
15 16
 * <p>ExtensionTypeMenuPreferences class.</p>
......
24 25
	 * <p>Constructor for ExtensionTypeMenuPreferences.</p>
25 26
	 */
26 27
	public ExtensionTypeMenuPreferences() {
27
		super("Extension Type Preferences" , 
28
		super("Extension Type Preferences" ,
28 29
				"Choose which extension types to display",
29 30
				false);
30 31
	}
......
34 35
	 */
35 36
	/** {@inheritDoc} */
36 37
	@Override
37
	protected Class<ExtensionType> getTermClass() {
38
		return ExtensionType.class;
38
	protected TermType getTermType() {
39
		return TermType.ExtensionType;
39 40
	}
40 41
}

Also available in: Unified diff