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
.occurrence
.PreservationMethod
;
16 import eu
.etaxonomy
.taxeditor
.store
.TermStore
;
19 * <p>PreservationMethodMenuPreferences class.</p>
22 * @created Jun 25, 2010
25 public class PreservationMethodMenuPreferences
extends AbstractMenuPreferences
<PreservationMethod
> {
28 * <p>Constructor for PreservationMethodMenuPreferences.</p>
30 public PreservationMethodMenuPreferences() {
31 super("Preservation Method Preferences",
32 "Select preservation methods to be shown in selections",
37 * @see eu.etaxonomy.taxeditor.preference.menu.AbstractMenuPreferences#getTermClass()
41 protected Class
<PreservationMethod
> getTermClass() {
42 return PreservationMethod
.class;
46 * @see eu.etaxonomy.taxeditor.preference.menu.AbstractMenuPreferences#getTerms()
49 protected List
<PreservationMethod
> getTerms() {
50 return TermStore
.getPreservationMethods();