Project

General

Profile

Download (1.05 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.common.MarkerType;
14
import eu.etaxonomy.taxeditor.store.TermStore;
15

    
16
/**
17
 * <p>MarkerTypeMenuPreferences class.</p>
18
 *
19
 * @author n.hoffmann
20
 * @created Aug 28, 2009
21
 * @version 1.0
22
 */
23
public class MarkerTypeMenuPreferences extends AbstractMenuPreferences<MarkerType>{
24

    
25
	/**
26
	 * <p>Constructor for MarkerTypeMenuPreferences.</p>
27
	 */
28
	public MarkerTypeMenuPreferences() {
29
		super(TermStore.getNonTechnicalMarkerTypes(), 
30
				"Marker Type Preferences" , 
31
				"Choose which markers to display",
32
				true);
33
	}
34

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