1 |
ed1ececc
|
n.hoffmann
|
/**
|
2 |
|
|
* Copyright (C) 2007 EDIT
|
3 |
672874ab
|
Patrick Plitzner
|
* European Distributed Institute of Taxonomy
|
4 |
ed1ececc
|
n.hoffmann
|
* http://www.e-taxonomy.eu
|
5 |
672874ab
|
Patrick Plitzner
|
*
|
6 |
ed1ececc
|
n.hoffmann
|
* 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 |
|
|
package eu.etaxonomy.taxeditor.preference;
|
10 |
|
|
|
11 |
|
|
import org.eclipse.jface.preference.BooleanFieldEditor;
|
12 |
672874ab
|
Patrick Plitzner
|
|
13 |
|
|
import eu.etaxonomy.taxeditor.preference.menu.FieldEditorPreferencePageE4;
|
14 |
ed1ececc
|
n.hoffmann
|
|
15 |
|
|
/**
|
16 |
|
|
* @author n.hoffmann
|
17 |
|
|
*
|
18 |
|
|
* @created Oct 12, 2011
|
19 |
|
|
* @version 1.0
|
20 |
|
|
*/
|
21 |
672874ab
|
Patrick Plitzner
|
public class TypeDesignationPreferences extends FieldEditorPreferencePageE4 {
|
22 |
ed1ececc
|
n.hoffmann
|
|
23 |
|
|
@Override
|
24 |
|
|
protected void createFieldEditors() {
|
25 |
69e82edd
|
Katja Luther
|
addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(IPreferenceKeys.ADD_TYPES_TO_ALL_NAMES),
|
26 |
ed1ececc
|
n.hoffmann
|
"Add type designations to all names in a homotypical group.",
|
27 |
|
|
getFieldEditorParent()));
|
28 |
|
|
}
|
29 |
|
|
|
30 |
|
|
}
|