| Summary: | [DND] DropTarget.notifyListeners(int, Event) causes ClassCastException | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Dani Megert <daniel_megert> |
| Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> |
| Status: | CLOSED WONTFIX | QA Contact: | Kevin Barnes <cocoakevin> |
| Severity: | normal | ||
| Priority: | P3 | CC: | duongn, snorthov, veronika_irvine |
| Version: | 3.2 | Keywords: | triaged |
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | stalebug | ||
|
Description
Dani Megert
ping. Steve - do you want to make DNDEvent API? Note that StyledTextEvent is also package protected. The notifyListeners() mechanism is typically used to implement custom widgets that support high level events like Selection. The use here in TextViewer$1.dragEnter() is not expected. Why is it necessary to resend a drag enter event on the drop target when one has just been sent? >Why is it necessary to resend a drag >enter event on the drop target when one has just been sent? I tried to hack around the SWT limitation covered by bug 142845. If that bug is fixed I won't need this one. >The use here in >TextViewer$1.dragEnter() is not expected. Why make the even type API then? Is there an event type which would allow me to send a StyledTextEvent? This is a one-off bulk update. (The last one in the triage migration). Moving bugs from swt-triaged@eclipse to platform-swt-inbox@eclipse.org and adding "triaged" keyword as per new triage process: https://wiki.eclipse.org/SWT/Devel/Triage See Bug 518478 for details. Tag for notification/mail filters: @TriageBulkUpdate This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. |