2 * Copyright (C) 2007 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.
10 package eu
.etaxonomy
.taxeditor
.preference
;
12 import org
.eclipse
.jface
.preference
.BooleanFieldEditor
;
13 import org
.eclipse
.jface
.preference
.FieldEditorPreferencePage
;
14 import org
.eclipse
.ui
.IWorkbench
;
15 import org
.eclipse
.ui
.IWorkbenchPreferencePage
;
18 * <p>DescriptionPreferences class.</p>
24 public class DescriptionPreferences
extends FieldEditorPreferencePage
implements
25 IWorkbenchPreferencePage
{
27 /** Constant <code>PLUGIN_ID="eu.etaxonomy.taxeditor.preferences.desc"{trunked}</code> */
28 public static final String PLUGIN_ID
= "eu.etaxonomy.taxeditor.preferences.description";
32 public void init(IWorkbench workbench
) {
33 setPreferenceStore(PreferencesUtil
.getPreferenceStore());
38 protected void createFieldEditors() {
39 addField(new BooleanFieldEditor(IPreferenceKeys
.SHOW_VOCABULARY_ID_FOR_TERM_LABELS
,
40 "Show vocabulary id for term labels.",
41 getFieldEditorParent()));