Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnsgar Radermacher2014-05-09 16:47:16 +0000
committerAnsgar Radermacher2014-05-09 16:47:16 +0000
commit756210a17807a0cc31c798f4f650d71ebac766de (patch)
treedfa04faac16a763dd2b93e01db5c92be8c3dd32c /extraplugins/codegen
parent5118bf56aee56618348a1687ba0172d88990d949 (diff)
downloadorg.eclipse.papyrus-756210a17807a0cc31c798f4f650d71ebac766de.tar.gz
org.eclipse.papyrus-756210a17807a0cc31c798f4f650d71ebac766de.tar.xz
org.eclipse.papyrus-756210a17807a0cc31c798f4f650d71ebac766de.zip
434484 - [CDT integration] opening a CDT editors from a diagram results in an exception
Diffstat (limited to 'extraplugins/codegen')
-rw-r--r--extraplugins/codegen/org.eclipse.papyrus.texteditor.cdt/src/org/eclipse/papyrus/texteditor/cdt/handler/PapyrusCDTEditorHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/extraplugins/codegen/org.eclipse.papyrus.texteditor.cdt/src/org/eclipse/papyrus/texteditor/cdt/handler/PapyrusCDTEditorHandler.java b/extraplugins/codegen/org.eclipse.papyrus.texteditor.cdt/src/org/eclipse/papyrus/texteditor/cdt/handler/PapyrusCDTEditorHandler.java
index 800a2586491..72129be0cf8 100644
--- a/extraplugins/codegen/org.eclipse.papyrus.texteditor.cdt/src/org/eclipse/papyrus/texteditor/cdt/handler/PapyrusCDTEditorHandler.java
+++ b/extraplugins/codegen/org.eclipse.papyrus.texteditor.cdt/src/org/eclipse/papyrus/texteditor/cdt/handler/PapyrusCDTEditorHandler.java
@@ -157,7 +157,7 @@ public class PapyrusCDTEditorHandler extends CmdHandler {
final TextEditorModel editorModelFinal = editorModel;
// open asynchronously to prevent handler cycles, see bug 434484
- Display.getDefault().syncExec(new Runnable() {
+ Display.getDefault().asyncExec(new Runnable() {
@Override
public void run() {

Back to the top