Project

General

Profile

Download (914 Bytes) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2019 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
package eu.etaxonomy.taxeditor.preference;
10

    
11
import org.eclipse.jface.preference.BooleanFieldEditor;
12

    
13
import eu.etaxonomy.taxeditor.l10n.Messages;
14
import eu.etaxonomy.taxeditor.preference.menu.FieldEditorPreferencePageE4;
15

    
16
/**
17
 * @author k.luther
18
 * @since 18.01.2019
19
 *
20
 */
21
public class UIPreferences extends FieldEditorPreferencePageE4 {
22

    
23

    
24
    @Override
25
    protected void createFieldEditors() {
26
        addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(
27
                IPreferenceKeys.SHOULD_EXPAND_SECTION_WHEN_DATA_AVAILABLE),
28
                Messages.UIPreferences_expand,
29
                getFieldEditorParent()));
30
     }
31

    
32
}
(62-62/62)