Revision d3a48462
Added by Patrick Plitzner over 6 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/EditorUtil.java | ||
---|---|---|
126 | 126 |
} |
127 | 127 |
} |
128 | 128 |
MPart part = partService.createPart(NAME_EDITOR_ID); |
129 |
MPartStack partStack = WorkbenchUtility.getPartStack(eu.etaxonomy.taxeditor.application.AppModelId.PARTSTACK_STACK_EDITORS, application, modelService);
|
|
130 |
partStack.getChildren().add(part);
|
|
129 |
MPartStack area = WorkbenchUtility.getEditorArea(application, modelService);
|
|
130 |
area.getChildren().add(part);
|
|
131 | 131 |
part = partService.showPart(part, PartState.ACTIVATE); |
132 | 132 |
|
133 | 133 |
TaxonNameEditorE4 editor = (TaxonNameEditorE4) part.getObject(); |
Also available in: Unified diff
ref #6925 Refactor application model IDs and placeholders