Revision b6f0f1ad
Added by Katja Luther about 4 years ago
eu.etaxonomy.taxeditor.application/src/main/java/eu/etaxonomy/taxeditor/LifeCycleManager.java | ||
---|---|---|
39 | 39 |
|
40 | 40 |
import eu.etaxonomy.cdm.model.metadata.PreferencePredicate; |
41 | 41 |
import eu.etaxonomy.taxeditor.editor.AppModelId; |
42 |
import eu.etaxonomy.taxeditor.editor.EditorUtil; |
|
42 | 43 |
import eu.etaxonomy.taxeditor.model.IContextListener; |
43 | 44 |
import eu.etaxonomy.taxeditor.preference.PreferencesUtil; |
44 | 45 |
import eu.etaxonomy.taxeditor.store.CdmStore; |
... | ... | |
174 | 175 |
IPerspectiveRegistry registry = workbench.getPerspectiveRegistry(); |
175 | 176 |
IWorkbenchPage page = window.getActivePage(); |
176 | 177 |
page.setPerspective(registry.findPerspectiveWithId("eu.etaxonomy.taxeditor.perspective.checklistperspective")); |
178 |
EditorUtil.setFactsVisible(false); |
|
179 |
EditorUtil.setMediaVisible(false); |
|
177 | 180 |
}else{ |
178 | 181 |
|
179 | 182 |
|
Also available in: Unified diff
code cleaning