Project

General

Profile

« Previous | Next » 

Revision 185eb33b

Added by Katja Luther over 5 years ago

ref #7849: improve DB preference handling and use editorpreferencePredicates keys also for local preferences

View differences:

eu.etaxonomy.taxeditor.application/src/main/java/eu/etaxonomy/taxeditor/LifeCycleManager.java
39 39
import org.osgi.service.event.Event;
40 40

  
41 41
import eu.etaxonomy.taxeditor.model.IContextListener;
42
import eu.etaxonomy.taxeditor.preference.IPreferenceKeys;
42
import eu.etaxonomy.taxeditor.preference.EditorPreferencePredicate;
43 43
import eu.etaxonomy.taxeditor.preference.PreferencesUtil;
44 44
import eu.etaxonomy.taxeditor.store.CdmStore;
45 45

  
......
137 137
        PreferencesUtil.updateDBPreferences();
138 138

  
139 139
        hideParts();
140
        if (PreferencesUtil.getBooleanValue(IPreferenceKeys.SHOW_CHECKLIST_PERSPECTIVE)){
140
        if (PreferencesUtil.getBooleanValue(EditorPreferencePredicate.ShowChecklistPerspective.getKey())){
141 141
            IWorkbench workbench = PlatformUI.getWorkbench();
142 142
            IWorkbenchWindow window = workbench
143 143
                    .getActiveWorkbenchWindow();

Also available in: Unified diff