From e9a3cc56a92f12b28653a1165a1cbb55cf2a03d2 Mon Sep 17 00:00:00 2001 From: Vincent Lorenzo Date: Fri, 8 Oct 2021 18:18:10 +0200 Subject: Bug 576472: [Editor][XText] Papyrus must provide a way to open the XTextEditor as a nested editor - fix a minor bug with semantic and graphical context during the creation Change-Id: I98ecd4a882e00aaf320979b93d62ff889db5c636 Signed-off-by: Vincent Lorenzo --- .../architecture/AbstractCreateTextDocumentEditorCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/infra/textedit/org.eclipse.papyrus.infra.textedit.representation.architecture/api/org/eclipse/papyrus/infra/textedit/representation/architecture/AbstractCreateTextDocumentEditorCommand.java b/plugins/infra/textedit/org.eclipse.papyrus.infra.textedit.representation.architecture/api/org/eclipse/papyrus/infra/textedit/representation/architecture/AbstractCreateTextDocumentEditorCommand.java index 7d73b34c8db..a488babdbef 100755 --- a/plugins/infra/textedit/org.eclipse.papyrus.infra.textedit.representation.architecture/api/org/eclipse/papyrus/infra/textedit/representation/architecture/AbstractCreateTextDocumentEditorCommand.java +++ b/plugins/infra/textedit/org.eclipse.papyrus.infra.textedit.representation.architecture/api/org/eclipse/papyrus/infra/textedit/representation/architecture/AbstractCreateTextDocumentEditorCommand.java @@ -98,7 +98,7 @@ public abstract class AbstractCreateTextDocumentEditorCommand implements ICreate if (null == domain) { return null; } - final CreateTextDocumentViewCommand command = createTextDocumentEditorCreationCommand(domain, textDocumentRepresentation, textDocumentName, semanticContext, openAfterCreation); + final CreateTextDocumentViewCommand command = createTextDocumentEditorCreationCommand(domain, textDocumentRepresentation, textDocumentName, semanticContext, graphicalContext, openAfterCreation); domain.getCommandStack().execute(command); return command.getCreatedEditorView(); } -- cgit v1.2.3