ref #7268 Implement own extension point for preferences
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / preference / DescriptionPreferences.java
1 /**
2 * Copyright (C) 2007 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
10 package eu.etaxonomy.taxeditor.preference;
11
12 import org.eclipse.jface.preference.BooleanFieldEditor;
13
14 import eu.etaxonomy.taxeditor.preference.menu.FieldEditorPreferencePageE4;
15
16 /**
17 * <p>DescriptionPreferences class.</p>
18 *
19 * @author p.ciardelli
20 * @created 20.05.2008
21 * @version 1.0
22 */
23 public class DescriptionPreferences extends FieldEditorPreferencePageE4 {
24
25 /** Constant <code>PLUGIN_ID="eu.etaxonomy.taxeditor.preferences.desc"{trunked}</code> */
26 public static final String PLUGIN_ID = "eu.etaxonomy.taxeditor.preferences.description";
27
28 @Override
29 protected void createFieldEditors() {
30 addField(new BooleanFieldEditor(IPreferenceKeys.SHOW_VOCABULARY_ID_FOR_TERM_LABELS,
31 "Show vocabulary id for term labels.",
32 getFieldEditorParent()));
33 }
34 }