Project

General

Profile

« Previous | Next » 

Revision cc4e78d1

Added by Katja Luther over 5 years ago

ref #7793: add preference to set checklist perspective as default

View differences:

eu.etaxonomy.taxeditor.application/src/main/java/eu/etaxonomy/taxeditor/ApplicationWorkbenchAdvisor.java
12 12
import org.springframework.remoting.RemoteConnectFailureException;
13 13

  
14 14
import eu.etaxonomy.taxeditor.model.MessagingUtils;
15
import eu.etaxonomy.taxeditor.preference.IPreferenceKeys;
15 16
import eu.etaxonomy.taxeditor.preference.PreferencesUtil;
16 17

  
17 18

  
......
49 50
	 */
50 51
	@Override
51 52
    public String getInitialWindowPerspectiveId() {
53
	    if (PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_CHECKLIST_PERSPECTIVE)){
54
	        return "eu.etaxonomy.taxeditor.perspective.checklistperspective";
55
	    }
56

  
52 57
		return "eu.etaxonomy.taxeditor.application.perspective.taxonomic";
53 58
	}
54 59

  

Also available in: Unified diff