bbaed72df4a8521b3760fc495263175bee01aab5
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / preference / DebugPreferences.java
1 /**
2 * Copyright (C) 2016 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 * @date 01.04.2016
18 *
19 */
20 public class DebugPreferences extends FieldEditorPreferencePageE4 {
21
22 @Override
23 protected void createFieldEditors() {
24 addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(IPreferenceKeys.IS_SHOW_UP_WIDGET_IS_DISPOSED),
25 "Show up widget is disposed error messages.",
26 getFieldEditorParent()));
27 addField(new BooleanFieldEditor(PreferencesUtil.createPreferenceString(IPreferenceKeys.DISABLE_SERVICES_API_TIMESTAMP_CHECK),
28 "Disable services api timestamp check",
29 getFieldEditorParent()));
30
31 }
32
33 }