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.
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 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: Thu Oct 23 21:17:16 GMT 2014

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

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