forked from eclipse-platform/eclipse.platform.swt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bringing the required changes to DropTarget.java (eclipse-platform#713)
In the method dropTargetProc(long id, long sel, long arg0) the widget was being recognised as label instead of the widget that actually has the drop Target key. As soon as the first drop target key is acquired the area is recognised as a Drop Target area and the Drag handlers are added. Also a new function called handleLabels( Control c, long cls) is also added to bring the feature of droping on to the top of a label that has an image view.This functions takes a control as a parameter to go up till its parent to find the label which has an image view and add drag handlers for that. Fixes: eclipse-platform#649
- Loading branch information
Showing
2 changed files
with
61 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters