Project

General

Profile

Download (1.14 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.preference.menu.FieldEditorPreferencePageE4;
14

    
15
/**
16
 * @author k.luther
17
 * @since 16.10.2018
18
 *
19
 */
20
public class SearchPreferences extends FieldEditorPreferencePageE4 {
21

    
22
    /**
23
     * {@inheritDoc}
24
     */
25
    @Override
26
    protected void createFieldEditors() {
27

    
28
        addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(IPreferenceKeys.IS_SEARCH_FOR_IDENTIFIER_AS_DEFAULT),
29
                "Set search for Identifier as default.",
30
                getFieldEditorParent()));
31
        addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(IPreferenceKeys.SEARCH_FOR_IDENTIFIER_AND_TITLECACHE),
32
                "Search for identifier and titleCache, if identifier search is enabled",
33
                getFieldEditorParent()));
34

    
35

    
36

    
37

    
38

    
39
    }
40

    
41
}
(25-25/30)