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 106654 Details for
Bug 239698
No events dispatched when already selected item clicked again
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
patch that adds event dispatching & selection order changes on reselecting items from a selection
selection.patch (text/plain), 996 bytes, created by
Lars Grammel
on 2008-07-05 20:57:06 EDT
(
hide
)
Description:
patch that adds event dispatching & selection order changes on reselecting items from a selection
Filename:
MIME Type:
Creator:
Lars Grammel
Created:
2008-07-05 20:57:06 EDT
Size:
996 bytes
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.zest.core >Index: src/org/eclipse/zest/core/widgets/Graph.java >=================================================================== >RCS file: /cvsroot/tools/org.eclipse.gef/plugins/org.eclipse.zest.core/src/org/eclipse/zest/core/widgets/Graph.java,v >retrieving revision 1.37 >diff -u -r1.37 Graph.java >--- src/org/eclipse/zest/core/widgets/Graph.java 17 Jun 2008 05:48:40 -0000 1.37 >+++ src/org/eclipse/zest/core/widgets/Graph.java 6 Jul 2008 00:54:56 -0000 >@@ -661,7 +661,14 @@ > selectedItems.remove(itemUnderMouse); > (itemUnderMouse).unhighlight(); > fireWidgetSelectedEvent(itemUnderMouse); >+ return; > } >+ >+ // shuffles the currently clicked element to the top of the selection list >+ // and fires and event, so listeners can react >+ selectedItems.remove(itemUnderMouse); >+ selectedItems.add(0, itemUnderMouse); >+ fireWidgetSelectedEvent(itemUnderMouse); > return; > } >
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 239698
: 106654