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 150287 Details for
Bug 292804
TrayDialog help not registering correct event listener
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Patch to fix the way that TrayDialog determines which control to send the help event to
TrayDialog.patch (text/plain), 1.26 KB, created by
Paul Kendall
on 2009-10-22 14:46:17 EDT
(
hide
)
Description:
Patch to fix the way that TrayDialog determines which control to send the help event to
Filename:
MIME Type:
Creator:
Paul Kendall
Created:
2009-10-22 14:46:17 EDT
Size:
1.26 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.rap.jface >Index: src/org/eclipse/jface/dialogs/TrayDialog.java >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/runtime.ui/org.eclipse.rap.jface/src/org/eclipse/jface/dialogs/TrayDialog.java,v >retrieving revision 1.4 >diff -u -r1.4 TrayDialog.java >--- src/org/eclipse/jface/dialogs/TrayDialog.java 10 Sep 2009 10:55:59 -0000 1.4 >+++ src/org/eclipse/jface/dialogs/TrayDialog.java 22 Oct 2009 18:47:53 -0000 >@@ -13,6 +13,7 @@ > import org.eclipse.jface.resource.JFaceResources; > import org.eclipse.jface.window.IShellProvider; > import org.eclipse.swt.SWT; >+import org.eclipse.swt.events.HelpEvent; > import org.eclipse.swt.events.SelectionAdapter; > import org.eclipse.swt.events.SelectionEvent; > import org.eclipse.swt.graphics.Cursor; >@@ -302,10 +303,16 @@ > if (getShell() != null) { > Control c = getShell().getDisplay().getFocusControl(); > while (c != null) { >- if (c.isListening(SWT.Help)) { >+/* >+ if (c.isListening(SWT.Help)) { > c.notifyListeners(SWT.Help, new Event()); > break; > } >+*/ >+ if (HelpEvent.hasListener(c)) { >+ new HelpEvent(c).processEvent(); >+ break; >+ } > c = c.getParent(); > } > }
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 292804
: 150287