| Summary: | SWT crashes on Drag&Drop | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] ECP | Reporter: | Tobias Verhoeven <t.s.verhoeven> | ||||
| Component: | Navigator | Assignee: | Tobias Verhoeven <t.s.verhoeven> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | ||||||
| Version: | 1.0.0 | ||||||
| Target Milestone: | 1.0.0RC1 | ||||||
| Hardware: | Macintosh | ||||||
| OS: | Mac OS X | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Tobias Verhoeven
class: ModelExplorerDropAdapter, method: dragOver(DropTargetEvent event) - source = getDragSource(event); returns null though it returns the right object in windows. method:drop(final DropTargetEvent event) - source = getDragSource(event); however returns the correct object. Created attachment 224362 [details]
Dnd-patch
In case the sourceObject of an event is null the object is retrieved directly from the viewer.
I hereby confirm that the code of the patch/enhancement was written entirely on my own and I agree to contribute the code to Eclipse under the terms of the EPL.
Tobias Verhoeven
|