Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Lorenzo2021-10-08 12:18:10 -0400
committerVincent Lorenzo2021-10-08 12:18:40 -0400
commite9a3cc56a92f12b28653a1165a1cbb55cf2a03d2 (patch)
treeb6125fc32a95df2556fd5541e1d3dcb61f3bc97c
parent0982fcadb1714dbbd3849f5f1474fc81ab569868 (diff)
downloadorg.eclipse.papyrus-e9a3cc56a92f12b28653a1165a1cbb55cf2a03d2.tar.gz
org.eclipse.papyrus-e9a3cc56a92f12b28653a1165a1cbb55cf2a03d2.tar.xz
org.eclipse.papyrus-e9a3cc56a92f12b28653a1165a1cbb55cf2a03d2.zip
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 <vincent.lorenzo@cea.fr>
-rwxr-xr-xplugins/infra/textedit/org.eclipse.papyrus.infra.textedit.representation.architecture/api/org/eclipse/papyrus/infra/textedit/representation/architecture/AbstractCreateTextDocumentEditorCommand.java2
1 files changed, 1 insertions, 1 deletions
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();
}

Back to the top