Project

General

Profile

« Previous | Next » 

Revision 672874ab

Added by Patrick Plitzner about 6 years ago

ref #7268 Implement own extension point for preferences

Conflicts:

eu.etaxonomy.taxeditor.workbench/fragment.e4xmi

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/DebugPreferences.java
9 9
package eu.etaxonomy.taxeditor.preference;
10 10

  
11 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;
12

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

  
16 15
/**
17 16
 * @author k.luther
18 17
 * @date 01.04.2016
19 18
 *
20 19
 */
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
    }
20
public class DebugPreferences extends FieldEditorPreferencePageE4 {
31 21

  
32
    /* (non-Javadoc)
33
     * @see org.eclipse.jface.preference.FieldEditorPreferencePage#createFieldEditors()
34
     */
35 22
    @Override
36 23
    protected void createFieldEditors() {
37 24
        addField(new BooleanFieldEditor(IPreferenceKeys.IS_SHOW_UP_WIDGET_IS_DISPOSED,

Also available in: Unified diff