Project: SWT
Bug 177223 [DND] DropTargetEffect API
Reported: 2007-03-13 17:49:03 | Status: resolved fixed

Build ID: I20070209-1006 In the DropTargetEffect class method Item #getItem(int x, int y) has package level access. Can the access modifier be changed to either protected or public level access so extending class may override the behavior and provide their own handling. #getItem() is called by the framework to populate the item field of a DropTargetEvent. As a result custom widgets with DND will always have NULL for the item field of a DropTargetEvent.

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/DropTargetEffect.java