1 |
d3d01e43
|
Katja Luther
|
/**
|
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 |
|
|
import org.eclipse.jface.preference.FieldEditorPreferencePage;
|
13 |
|
|
import org.eclipse.ui.IWorkbench;
|
14 |
|
|
import org.eclipse.ui.IWorkbenchPreferencePage;
|
15 |
|
|
|
16 |
|
|
/**
|
17 |
|
|
* @author k.luther
|
18 |
|
|
* @date 01.04.2016
|
19 |
|
|
*
|
20 |
|
|
*/
|
21 |
|
|
public class DebugPreferences extends FieldEditorPreferencePage implements IWorkbenchPreferencePage {
|
22 |
|
|
|
23 |
|
|
/* (non-Javadoc)
|
24 |
|
|
* @see org.eclipse.ui.IWorkbenchPreferencePage#init(org.eclipse.ui.IWorkbench)
|
25 |
|
|
*/
|
26 |
|
|
@Override
|
27 |
|
|
public void init(IWorkbench workbench) {
|
28 |
|
|
setPreferenceStore(PreferencesUtil.getPreferenceStore());
|
29 |
|
|
|
30 |
|
|
}
|
31 |
|
|
|
32 |
|
|
/* (non-Javadoc)
|
33 |
|
|
* @see org.eclipse.jface.preference.FieldEditorPreferencePage#createFieldEditors()
|
34 |
|
|
*/
|
35 |
|
|
@Override
|
36 |
|
|
protected void createFieldEditors() {
|
37 |
|
|
addField(new BooleanFieldEditor(IPreferenceKeys.IS_SHOW_UP_WIDGET_IS_DISPOSED,
|
38 |
|
|
"Show up widget is disposed error messages.",
|
39 |
|
|
getFieldEditorParent()));
|
40 |
da2bcb68
|
Katja Luther
|
addField(new BooleanFieldEditor(IPreferenceKeys.DISABLE_SERVICES_API_TIMESTAMP_CHECK,
|
41 |
|
|
"Disable services api timestamp check",
|
42 |
|
|
getFieldEditorParent()));
|
43 |
d3d01e43
|
Katja Luther
|
|
44 |
|
|
}
|
45 |
|
|
|
46 |
|
|
}
|