Project

General

Profile

Download (1.07 KB) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2014 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
import org.eclipse.jface.preference.FieldEditorPreferencePage;
13
import org.eclipse.ui.IWorkbench;
14
import org.eclipse.ui.IWorkbenchPreferencePage;
15

    
16
/**
17
 * @author a.oppermann
18
 * @date 13.08.2014
19
 *
20
 */
21
public class TemplatePreferencePage extends FieldEditorPreferencePage implements IWorkbenchPreferencePage {
22

    
23
    @Override
24
    public void init(IWorkbench workbench) {
25
        setPreferenceStore(PreferencesUtil.getPreferenceStore());
26
    }
27

    
28
    /* (non-Javadoc)
29
     * @see org.eclipse.jface.preference.FieldEditorPreferencePage#createFieldEditors()
30
     */
31
    @Override
32
    protected void createFieldEditors() {
33
        addField(new BooleanFieldEditor(IPreferenceKeys.IS_RL, "Rote Liste 2020",  getFieldEditorParent()));
34
    }
35

    
36
}
(26-26/27)