3 * Copyright (C) 2007 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
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.
11 package eu
.etaxonomy
.taxeditor
.preference
.menu
;
13 import java
.util
.List
;
15 import eu
.etaxonomy
.cdm
.model
.location
.NamedAreaType
;
16 import eu
.etaxonomy
.taxeditor
.store
.TermStore
;
19 * <p>NamedAreaTypeMenuPreferences class.</p>
22 * @created May 11, 2010
25 public class NamedAreaTypeMenuPreferences
extends AbstractMenuPreferences
<NamedAreaType
> {
28 * <p>Constructor for NamedAreaTypeMenuPreferences.</p>
30 public NamedAreaTypeMenuPreferences() {
31 super("Named Area Types",
32 "Edit displayed named area types",
37 * @see eu.etaxonomy.taxeditor.preference.menu.AbstractMenuPreferences#getTermClass()
41 protected Class
<NamedAreaType
> getTermClass() {
42 return NamedAreaType
.class;
46 * @see eu.etaxonomy.taxeditor.preference.menu.AbstractMenuPreferences#getTerms()
49 protected List
<NamedAreaType
> getTerms() {
50 return TermStore
.getNamedAreaTypes();