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
.bulkeditor
.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
;
17 import eu
.etaxonomy
.taxeditor
.preference
.IPreferenceKeys
;
18 import eu
.etaxonomy
.taxeditor
.preference
.PreferencesUtil
;
22 * @created Dec 13, 2010
25 public class BulkEditorGeneralPreferencePage
extends FieldEditorPreferencePage
implements IWorkbenchPreferencePage
{
28 * @see org.eclipse.jface.preference.FieldEditorPreferencePage#createFieldEditors()
31 protected void createFieldEditors() {
32 addField(new BooleanFieldEditor(IPreferenceKeys
.BULK_EDITOR_OCCURRENCE_SHOW_FIELD_UNITS
,
33 "Show Field Units in Bulk Editor.",
34 getFieldEditorParent()));
38 * @see org.eclipse.ui.IWorkbenchPreferencePage#init(org.eclipse.ui.IWorkbench)
41 public void init(IWorkbench workbench
) {
42 setPreferenceStore(PreferencesUtil
.getPreferenceStore());