Project

General

Profile

Download (1.4 KB) Statistics
| Branch: | Tag: | Revision:
1
// $Id$
2
/**
3
* Copyright (C) 2007 EDIT
4
* European Distributed Institute of Taxonomy 
5
* http://www.e-taxonomy.eu
6
* 
7
* The contents of this file are subject to the Mozilla Public License Version 1.1
8
* See LICENSE.TXT at the top of this package for the full license terms.
9
*/
10

    
11
package eu.etaxonomy.taxeditor.preference.menu;
12

    
13
import java.util.List;
14

    
15
import eu.etaxonomy.cdm.model.name.NameTypeDesignationStatus;
16
import eu.etaxonomy.taxeditor.store.TermStore;
17

    
18
/**
19
 * <p>NameTypeDesignationStatusMenuPreferences class.</p>
20
 *
21
 * @author n.hoffmann
22
 * @created 25.06.2009
23
 * @version 1.0
24
 */
25
public class NameTypeDesignationStatusMenuPreferences extends
26
		AbstractMenuPreferences<NameTypeDesignationStatus> {
27
	/**
28
	 * <p>Constructor for NameTypeDesignationStatusMenuPreferences.</p>
29
	 */
30
	public NameTypeDesignationStatusMenuPreferences() {
31
		super("Name Type Designation Status Preferences", 
32
				"Configure name type designation status",
33
				false);
34
	}
35

    
36
	/* (non-Javadoc)
37
	 * @see eu.etaxonomy.taxeditor.preference.menu.AbstractMenuPreferences#getTermClass()
38
	 */
39
	/** {@inheritDoc} */
40
	@Override
41
	protected Class<NameTypeDesignationStatus> getTermClass() {
42
		return NameTypeDesignationStatus.class;
43
	}
44

    
45
	/* (non-Javadoc)
46
	 * @see eu.etaxonomy.taxeditor.preference.menu.AbstractMenuPreferences#getTerms()
47
	 */
48
	@Override
49
	protected List<NameTypeDesignationStatus> getTerms() {
50
		return TermStore.getNameTypeDesignationStatus();
51
	}
52

    
53
}
(10-10/18)