Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » DropTargetAdapter.dragOver
DropTargetAdapter.dragOver [message #466559] Wed, 11 January 2006 16:21
Hans is currently offline HansFriend
Messages: 36
Registered: July 2009
Member
I implement drag and drop from a table into a TreeViewer. The drop
operation is not valid on all nodes in the tree, so I have overloaded
dragOver and set event.detail = DND.DROP_NONE in these cases. However,
all subsequent calls to dragOver already have the event.detail set to 0,
so that if the user has reached a valid dropping item, then I cannot set
event.detail back to the correct value: I have no information whether
the user currently wants to MOVE or COPY! To summarize: Once I set it
to DROP_NONE, the information to set it back is lost. Any solution to
this dilemma?
Previous Topic:Undo on Text widgets
Next Topic:password protection
Goto Forum:
  


Current Time: Wed Apr 24 14:09:09 GMT 2024

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

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

Back to the top