Skip to content
Success

Changes

Summary

  1. Multiple fixes (details)
Commit b3cfd52ed193785cb68f1dfa32b063d1b7db9765 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, process UI events before (avoid pending reload events)

- Initialize model with PrimitiveTypes

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/modelutils/PlayerModel.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/view/game/GamePlayView.java
The file was modified plugins/org.eclipse.papyrus.gamification/src/org/eclipse/papyrus/gamification/modelutils/ModelDisplayManager.java