Project

General

Profile

Download (1 KB) Statistics
| Branch: | Tag: | Revision:
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.preference.IPreferenceKeys;
15
import eu.etaxonomy.taxeditor.preference.PreferencesUtil;
16
import eu.etaxonomy.taxeditor.preference.menu.FieldEditorPreferencePageE4;
17

    
18
/**
19
 * @author n.hoffmann
20
 * @created Dec 13, 2010
21
 * @version 1.0
22
 */
23
public class BulkEditorGeneralPreferencePage extends FieldEditorPreferencePageE4 {
24

    
25
    @Override
26
    protected void createFieldEditors() {
27
        addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(IPreferenceKeys.BULK_EDITOR_OCCURRENCE_SHOW_FIELD_UNITS),
28
                "Show Field Units in Specimen Editor (list).",
29
                getFieldEditorParent()));
30
    }
31

    
32
}
(1-1/2)