Project

General

Profile

Download (1.07 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 eu.etaxonomy.cdm.model.location.NamedAreaType;
14
import eu.etaxonomy.taxeditor.store.TermStore;
15

    
16
/**
17
 * <p>NamedAreaTypeMenuPreferences class.</p>
18
 *
19
 * @author n.hoffmann
20
 * @created May 11, 2010
21
 * @version 1.0
22
 */
23
public class NamedAreaTypeMenuPreferences extends AbstractMenuPreferences<NamedAreaType> {
24

    
25
	/**
26
	 * <p>Constructor for NamedAreaTypeMenuPreferences.</p>
27
	 */
28
	public NamedAreaTypeMenuPreferences() {
29
		super(TermStore.getNamedAreaTypes(), 
30
				"Named Area Types", 
31
				"Edit displayed named area types", 
32
				true);
33
	}
34

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