Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Monnier2017-11-17 16:38:15 +0000
committerMaxime Porhel2017-11-27 15:35:08 +0000
commit9dfac46f3749ed3fe0256ca890d41f83367e0095 (patch)
tree5d60b43fec4556a2f70a1314ead2613dba421fcf
parentd750d44f9faa069731501400b52fe6d5d851d71b (diff)
downloadorg.eclipse.sirius-9dfac46f3749ed3fe0256ca890d41f83367e0095.tar.gz
org.eclipse.sirius-9dfac46f3749ed3fe0256ca890d41f83367e0095.tar.xz
org.eclipse.sirius-9dfac46f3749ed3fe0256ca890d41f83367e0095.zip
[527364] [Aird Editor] Revert a syncCall that causes deadlocks
Revert of commit 0bb1aee305b5699a45d4be3fadff10c16012551e from bugzilla 510040 Bug: 527364 Change-Id: I990c2c7563bb03435a2b1704dfa5842f6de3c776 Signed-off-by: Steve Monnier <steve.monnier@obeo.fr>
-rw-r--r--plugins/org.eclipse.sirius.ui/src/org/eclipse/sirius/ui/tools/internal/graphicalcomponents/GraphicalRepresentationHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.sirius.ui/src/org/eclipse/sirius/ui/tools/internal/graphicalcomponents/GraphicalRepresentationHandler.java b/plugins/org.eclipse.sirius.ui/src/org/eclipse/sirius/ui/tools/internal/graphicalcomponents/GraphicalRepresentationHandler.java
index ca6e921fd9..2db1bc397a 100644
--- a/plugins/org.eclipse.sirius.ui/src/org/eclipse/sirius/ui/tools/internal/graphicalcomponents/GraphicalRepresentationHandler.java
+++ b/plugins/org.eclipse.sirius.ui/src/org/eclipse/sirius/ui/tools/internal/graphicalcomponents/GraphicalRepresentationHandler.java
@@ -1092,7 +1092,7 @@ public class GraphicalRepresentationHandler implements SessionManagerListener {
case SessionListener.REPRESENTATION_CHANGE:
case SessionListener.VSM_UPDATED:
case SessionListener.REPLACED:
- PlatformUI.getWorkbench().getDisplay().syncExec(() -> {
+ PlatformUI.getWorkbench().getDisplay().asyncExec(() -> {
if (session != null && !treeViewer.getControl().isDisposed()) {
// we refresh the content of the representations block as it may have changed for example when a
// new project containing a design has been opened

Back to the top