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
.common
.ExtensionType
;
16 import eu
.etaxonomy
.taxeditor
.store
.TermStore
;
19 * <p>ExtensionTypeMenuPreferences class.</p>
22 * @created Aug 28, 2009
25 public class ExtensionTypeMenuPreferences
extends AbstractMenuPreferences
<ExtensionType
> {
28 * <p>Constructor for ExtensionTypeMenuPreferences.</p>
30 public ExtensionTypeMenuPreferences() {
31 super("Extension Type Preferences" ,
32 "Choose which extension types to display",
37 * @see eu.etaxonomy.taxeditor.preference.menu.AbstractMenuPreferences#getTermClass()
41 protected Class
<ExtensionType
> getTermClass() {
42 return ExtensionType
.class;
46 * @see eu.etaxonomy.taxeditor.preference.menu.AbstractMenuPreferences#getTerms()
49 protected List
<ExtensionType
> getTerms() {
50 return TermStore
.getExtensionTypes();