Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » CommonDropAdapterAssistant validateDrop cannot get drag source(CommonDropAdapterAssistant validateDrop cannot get drag source while still dragging)
CommonDropAdapterAssistant validateDrop cannot get drag source [message #544328] Fri, 02 July 2010 11:45
Phil F. is currently offline Phil F.Friend
Messages: 7
Registered: July 2010
Junior Member
I am having a CommonNavigator which is using a CommonDropAdapterAssitant. When i start a drag and drop action within this navigator i am trying to check in the validateDrop function if i am allowed to drop at this location. To fulfill my task i ahve to access the source of the drag and drop, but unfortunately i can just get it out of the TargetDropEvent when i release the mouse for the drop. When i am still dragging the mouse, my source from the drag and drop operation remains null. Is there another way how i can determine in the validateDrop function what my dragsource is while i am still dragging with the mouse?

Cheers

Phil

[Updated on: Fri, 02 July 2010 11:56]

Report message to a moderator

Previous Topic:TextEditor annotations in OverviewRuler from IMarkers
Next Topic:Information about DragSource in validateDrop for PluginTransfer
Goto Forum:
  


Current Time: Fri Apr 26 18:42:50 GMT 2024

Powered by FUDForum. Page generated in 0.04089 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top