b4549f81cd98385f164271d1952764de41daab53
[taxeditor.git] / taxeditor-store / src / main / java / eu / etaxonomy / taxeditor / preference / menu / PreservationMethodMenuPreferences.java
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.occurrence.PreservationMethod;
14 import eu.etaxonomy.taxeditor.store.TermStore;
15
16 /**
17 * <p>PreservationMethodMenuPreferences class.</p>
18 *
19 * @author n.hoffmann
20 * @created Jun 25, 2010
21 * @version 1.0
22 */
23 public class PreservationMethodMenuPreferences extends AbstractMenuPreferences<PreservationMethod> {
24
25 /**
26 * <p>Constructor for PreservationMethodMenuPreferences.</p>
27 */
28 public PreservationMethodMenuPreferences() {
29 super(TermStore.getPreservationMethods(),
30 "Preservation Method Preferences",
31 "Select preservation methods to be shown in selections",
32 false);
33 }
34
35 /* (non-Javadoc)
36 * @see eu.etaxonomy.taxeditor.preference.menu.AbstractMenuPreferences#getTermClass()
37 */
38 /** {@inheritDoc} */
39 @Override
40 protected Class<PreservationMethod> getTermClass() {
41 return PreservationMethod.class;
42 }
43 }