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 07:45
Phil F. is currently offline Phil F.
Messages: 2
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 07: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: Sat Aug 02 02:45:12 EDT 2014

Powered by FUDForum. Page generated in 0.02215 seconds