Skip to content
Success

Changes

Summary

  1. Multiple fixes (details)
Commit 82e0eaff50a1821d24b52e79a016dd8b55c6407d by Ansgar Radermacher
Multiple fixes

- Avoid low-level exception (at least in Linux) that crashed Eclipse on resume to dashboard. This is fixed by executing the resume function in the UI thrad

- Model and diagram are created programmatically using the Papyrus ModelSet class. Afterwards, the model is opened in Papyrus. Since the editor creates its own instance of the modelSet, the references to the semantic model and modelSet need to be updated which was not the case.

- Initialize papyrusContext

- Execute opening of PapyrusEditor in UI thread

Signed-off-by: aradermache <ansgar.radermacher@cea.fr>

.metadata/

Change-Id: I3465e69b1efa7a869cae2ca350a96fb902961541
The file was modified plugins/org.eclipse.papyrus.gamification/src/org/eclipse/papyrus/gamification/view/ViewManager.java
The file was modified plugins/org.eclipse.papyrus.gamification/src/org/eclipse/papyrus/gamification/view/game/GamePlayView.java
The file was addedplugins/org.eclipse.papyrus.gamification/src/org/eclipse/papyrus/gamification/modelutils/URIConstants.java
The file was modified plugins/org.eclipse.papyrus.gamification/src/org/eclipse/papyrus/gamification/modelutils/ModelDisplayManager.java
The file was modified plugins/org.eclipse.papyrus.gamification/src/org/eclipse/papyrus/gamification/modelutils/PlayerModel.java