Project

General

Profile

Download (1.8 KB) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2018 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 16.10.2018
19
 *
20
 */
21
public class SearchDialogPreferences extends FieldEditorPreferencePageE4 {
22

    
23
    /**
24
     * {@inheritDoc}
25
     */
26
    @Override
27
    protected void createFieldEditors() {
28
        addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(IPreferenceKeys.SHOW_ID_IN_ENTITY_SELECTION_DIAOLOG),
29
                Messages.SearchDialogPreferences_0,
30
                getFieldEditorParent()));
31
        addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(IPreferenceKeys.IS_SEARCH_FOR_IDENTIFIER_AS_DEFAULT),
32
                Messages.SearchDialogPreferences_1,
33
                getFieldEditorParent()));
34
        addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(IPreferenceKeys.SEARCH_FOR_IDENTIFIER_AND_TITLECACHE),
35
                Messages.SearchDialogPreferences_2,
36
                getFieldEditorParent()));
37
        addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(IPreferenceKeys.SORT_TAXA_BY_RANK_AND_NAME),
38
                Messages.SearchDialogPreferences_3,
39
                getFieldEditorParent()));
40
        addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(
41
                IPreferenceKeys.FILTER_COMMON_NAME_REFERENCES),
42
                Messages.SearchDialogPreferences_4, getFieldEditorParent()));
43

    
44

    
45

    
46

    
47
    }
48

    
49
}
(31-31/40)