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.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/checklist/e4/handler/OpenChecklistEditorHandlerE4.java
69 69

  
70 70
	private void openChecklistEditor(ChecklistEditorInput input, EPartService partService) {
71 71
		MPart part = partService.createPart(AppModelId.PARTDESCRIPTOR_EU_ETAXONOMY_TAXEDITOR_EDITOR_VIEW_CHECKLIST_E4_CHECKLISTEDITORE4);
72
		MPartStack editorAreaPartStack = WorkbenchUtility.getPartStack(eu.etaxonomy.taxeditor.application.AppModelId.PARTSTACK_STACK_EDITORS, application, modelService);
73
		if(editorAreaPartStack!=null){
74
		    editorAreaPartStack.getChildren().add(part);
72
		MPartStack editorArea = WorkbenchUtility.getEditorArea(application, modelService);
73
		if(editorArea!=null){
74
		    editorArea.getChildren().add(part);
75 75
		}
76 76
		part = partService.showPart(part, PartState.ACTIVATE);
77 77
		ChecklistEditorE4 checklistEditor = (ChecklistEditorE4) part.getObject();

Also available in: Unified diff