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.bulkeditor.preference;
|
11
|
|
12
|
import org.eclipse.jface.preference.BooleanFieldEditor;
|
13
|
|
14
|
import eu.etaxonomy.taxeditor.l10n.Messages;
|
15
|
import eu.etaxonomy.taxeditor.preference.IPreferenceKeys;
|
16
|
import eu.etaxonomy.taxeditor.preference.PreferencesUtil;
|
17
|
import eu.etaxonomy.taxeditor.preference.menu.FieldEditorPreferencePageE4;
|
18
|
|
19
|
/**
|
20
|
* @author n.hoffmann
|
21
|
* @created Dec 13, 2010
|
22
|
* @version 1.0
|
23
|
*/
|
24
|
public class BulkEditorGeneralPreferencePage extends FieldEditorPreferencePageE4 {
|
25
|
|
26
|
@Override
|
27
|
protected void createFieldEditors() {
|
28
|
addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(IPreferenceKeys.BULK_EDITOR_OCCURRENCE_SHOW_FIELD_UNITS),
|
29
|
Messages.BulkEditorGeneralPreferencePage,
|
30
|
getFieldEditorParent()));
|
31
|
}
|
32
|
|
33
|
}
|