Project

General

Profile

Download (1.08 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

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

    
16
/**
17
 * @author pplitzner
18
 * @date 13.02.2014
19
 *
20
 */
21
public class MediaPreferences extends FieldEditorPreferencePageE4 {
22

    
23
    @Override
24
    protected void createFieldEditors() {
25

    
26
       addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(IPreferenceKeys.SHOW_ADVANCED_MEDIA_SECTION),
27
                Messages.MediaPreferences_advanced,
28
                getFieldEditorParent()));
29

    
30
        addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(IPreferenceKeys.SHOW_MEDIA_PREVIEW),
31
                Messages.MediaPreferences_preview,
32
                getFieldEditorParent()));
33

    
34
    }
35

    
36

    
37
}
(19-19/40)