2 * Copyright (C) 2019 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
6 * The contents of this file are subject to the Mozilla Public License Version 1.1
7 * See LICENSE.TXT at the top of this package for the full license terms.
9 package eu
.etaxonomy
.taxeditor
.databaseAdmin
.preferencePage
;
11 import eu
.etaxonomy
.cdm
.model
.metadata
.PreferencePredicate
;
12 import eu
.etaxonomy
.cdm
.model
.term
.TermType
;
13 import eu
.etaxonomy
.taxeditor
.editor
.definedterm
.input
.TermEditorInput
;
14 import eu
.etaxonomy
.taxeditor
.preference
.menu
.FeatureMenuPreferences
;
20 public class FeatureAdminMenuPreference
extends FeatureMenuPreferences
{
22 * <p>Constructor for FeatureMenuPreference.</p>
24 public FeatureAdminMenuPreference() {
27 setPredicate(PreferencePredicate
.TaxonFeatures
);
28 type
= TermType
.Feature
;
32 public boolean performOk() {
37 boolean result
= performOkAdmin();
39 TermEditorInput
.getPreferredTaxonFeatureTree(true);