Merge branch 'release/5.18.0'
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / preference / TermTreePreference.java
1 /**
2 * Copyright (C) 2020 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
5 *
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.
8 */
9 package eu.etaxonomy.taxeditor.preference;
10
11 import org.eclipse.jface.preference.BooleanFieldEditor;
12
13 import eu.etaxonomy.taxeditor.l10n.Messages;
14 import eu.etaxonomy.taxeditor.preference.menu.FieldEditorPreferencePageE4;
15
16 /**
17 * @author k.luther
18 * @since Nov 20, 2020
19 */
20 public class TermTreePreference extends FieldEditorPreferencePageE4 {
21
22 @Override
23 protected void createFieldEditors() {
24 addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(IPreferenceKeys.SHOW_VOCABULARY_ID_FOR_TERM_LABELS_IN_TREE_EDITOR),
25 Messages.DescriptionPreferences_1,
26 getFieldEditorParent()));
27
28 }
29
30 }