Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 97968 Details for
Bug 215800
Deadlock caused by TextDirectEditManager
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
fixed sendMouseClick() method
215800.txt (text/plain), 1.74 KB, created by
Yury Chernikov
on 2008-04-29 09:22:48 EDT
(
hide
)
Description:
fixed sendMouseClick() method
Filename:
MIME Type:
Creator:
Yury Chernikov
Created:
2008-04-29 09:22:48 EDT
Size:
1.74 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.gmf.runtime.diagram.ui >Index: src/org/eclipse/gmf/runtime/diagram/ui/tools/TextDirectEditManager.java >=================================================================== >RCS file: /cvsroot/modeling/org.eclipse.gmf/plugins/org.eclipse.gmf.runtime.diagram.ui/src/org/eclipse/gmf/runtime/diagram/ui/tools/TextDirectEditManager.java,v >retrieving revision 1.17 >diff -u -r1.17 TextDirectEditManager.java >--- src/org/eclipse/gmf/runtime/diagram/ui/tools/TextDirectEditManager.java 16 Oct 2007 14:11:55 -0000 1.17 >+++ src/org/eclipse/gmf/runtime/diagram/ui/tools/TextDirectEditManager.java 29 Apr 2008 13:09:47 -0000 >@@ -586,20 +586,19 @@ > private void sendMouseClick(final Point location) { > > final Display currDisplay = Display.getCurrent(); >- >- new Thread() { >- Event event; >- public void run() { >- event = new Event(); >- event.type = SWT.MouseDown; >- event.button = 1; >- event.x = location.x; >- event.y = location.y; >- currDisplay.post(event); >- event.type = SWT.MouseUp; >- currDisplay.post(event); >- } >- }.start(); >+ currDisplay.asyncExec(new Runnable() { >+ public void run() { >+ Event event; >+ event = new Event(); >+ event.type = SWT.MouseDown; >+ event.button = 1; >+ event.x = location.x; >+ event.y = location.y; >+ currDisplay.post(event); >+ event.type = SWT.MouseUp; >+ currDisplay.post(event); >+ } >+ }); > } > > protected void hookListeners() {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 215800
: 97968