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