2 * Copyright (C) 2014 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
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.
9 package eu
.etaxonomy
.taxeditor
.preference
;
11 import org
.eclipse
.jface
.preference
.BooleanFieldEditor
;
13 import eu
.etaxonomy
.taxeditor
.preference
.menu
.FieldEditorPreferencePageE4
;
20 public class MediaPreferences
extends FieldEditorPreferencePageE4
{
23 protected void createFieldEditors() {
24 addField(new BooleanFieldEditor(IPreferenceKeys
.SHOW_ADVANCED_MEDIA_SECTION
,
25 "Show Advanced Media Section",
26 getFieldEditorParent()));
27 addField(new BooleanFieldEditor(IPreferenceKeys
.SHOW_MEDIA_PREVIEW
,
28 "Show Preview in Media View",
29 getFieldEditorParent()));