diff options
author | jeremie.tatibouet | 2020-10-27 14:32:31 +0000 |
---|---|---|
committer | jeremie.tatibouet | 2020-10-27 14:40:03 +0000 |
commit | 0cb7e24fd7434e556107f36ee70353c3b2c81a23 (patch) | |
tree | 9cd925322ac2b6351ed5ac811c53e5abea5d9e16 | |
parent | d852d27797832b22a2e91e70228b66659b9ce9d8 (diff) | |
download | org.eclipse.papyrus-0cb7e24fd7434e556107f36ee70353c3b2c81a23.tar.gz org.eclipse.papyrus-0cb7e24fd7434e556107f36ee70353c3b2c81a23.tar.xz org.eclipse.papyrus-0cb7e24fd7434e556107f36ee70353c3b2c81a23.zip |
Bug 568307 Deadlock while updating the welcome page
Change-Id: Iaa40409bdc7e6d3a8820a8d6162dbd4f96cd8d06
Signed-off-by: jeremie.tatibouet <jeremie.tatibouet@cea.fr>
-rw-r--r-- | plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.welcome/src/org/eclipse/papyrus/infra/gmfdiag/welcome/internal/modelelements/NotationObservableProperty.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.welcome/src/org/eclipse/papyrus/infra/gmfdiag/welcome/internal/modelelements/NotationObservableProperty.java b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.welcome/src/org/eclipse/papyrus/infra/gmfdiag/welcome/internal/modelelements/NotationObservableProperty.java index d53262a8120..a4b131dad21 100644 --- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.welcome/src/org/eclipse/papyrus/infra/gmfdiag/welcome/internal/modelelements/NotationObservableProperty.java +++ b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.welcome/src/org/eclipse/papyrus/infra/gmfdiag/welcome/internal/modelelements/NotationObservableProperty.java @@ -1,6 +1,6 @@ /***************************************************************************** * Copyright (c) 2015, 2016 Christian W. Damus and others. - * + * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at @@ -10,7 +10,7 @@ * * Contributors: * Christian W. Damus - Initial API and implementation - * + * *****************************************************************************/ package org.eclipse.papyrus.infra.gmfdiag.welcome.internal.modelelements; @@ -73,7 +73,7 @@ public class NotationObservableProperty implements Supplier<IObservableList<Nota basicResourceSetChanged(event); } else { try { - Display.getDefault().syncExec(TransactionUtil.createPrivilegedRunnable(domain, + Display.getDefault().asyncExec(TransactionUtil.createPrivilegedRunnable(domain, new RunnableWithResult.Impl<Void>() { @Override public void run() { @@ -91,7 +91,7 @@ public class NotationObservableProperty implements Supplier<IObservableList<Nota /** * Captures the superclass behaviour of * {@link #resourceSetChanged(ResourceSetChangeEvent)}. - * + * * @param event * the change event */ @@ -132,7 +132,7 @@ public class NotationObservableProperty implements Supplier<IObservableList<Nota /** * Is a notation view or other object one that is under the user's control? * That is, in a resource that is normally accessible and editable. - * + * * @param object * an object in a model-set * @return whether it is in a user resource @@ -160,7 +160,7 @@ public class NotationObservableProperty implements Supplier<IObservableList<Nota /** * Queries whether an {@code object} has not yet been added to our * observable list. - * + * * @param object * an object * @return {@code true} if it is not in the observable list; {@code false}, otherwise |