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
.taxon
.TaxonRelationshipType
;
16 import eu
.etaxonomy
.taxeditor
.store
.TermStore
;
19 * <p>TaxonRelationshipTypeMenuPreferences class.</p>
25 public class TaxonRelationshipTypeMenuPreferences
extends
26 AbstractMenuPreferences
<TaxonRelationshipType
> {
29 * <p>Constructor for TaxonRelationshipTypeMenuPreferences.</p>
31 public TaxonRelationshipTypeMenuPreferences() {
32 super("Taxon Relationship Type Preferences",
33 "Configure taxon relationship types",
38 * @see eu.etaxonomy.taxeditor.preference.menu.AbstractMenuPreferences#getTermClass()
42 protected Class
<TaxonRelationshipType
> getTermClass() {
43 return TaxonRelationshipType
.class;
47 * @see eu.etaxonomy.taxeditor.preference.menu.AbstractMenuPreferences#getTerms()
50 protected List
<TaxonRelationshipType
> getTerms() {
51 return TermStore
.getTaxonRelationshipTypes();