Project

General

Profile

« Previous | Next » 

Revision d3a48462

Added by Patrick Plitzner over 6 years ago

ref #6925 Refactor application model IDs and placeholders

View differences:

eu.etaxonomy.taxeditor.workbench/src/main/java/eu/etaxonomy/taxeditor/workbench/OpenPartHandler.java
40 40
        }
41 41
        part = partService.showPart(part, PartState.ACTIVATE);
42 42
        if(part.getObject() instanceof IE4SavablePart){
43
            MPartStack editorAreaPartStack = WorkbenchUtility.getPartStack(eu.etaxonomy.taxeditor.application.AppModelId.PARTSTACK_STACK_EDITORS, application, modelService);
44
            if(editorAreaPartStack!=null){
45
                editorAreaPartStack.getChildren().add(part);
43
            MPartStack editorArea = WorkbenchUtility.getEditorArea(application, modelService);
44
            if(editorArea!=null){
45
                editorArea.getChildren().add(part);
46 46
            }
47 47
            part = partService.showPart(part, PartState.VISIBLE);
48 48
        }

Also available in: Unified diff