Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Showing feedback based on target part
Showing feedback based on target part [message #233978] Tue, 08 May 2007 23:13
Adam Cabler is currently offline Adam CablerFriend
Messages: 113
Registered: July 2009
Senior Member
Hello,
I am trying to get DnD to work in my diagram. I have several parts
in a row and I want to be able to drag one of them across the row and
show feedback (different cursor) if it is valid or not to drop them if a
certain attribute matches. At this point, I am only able to get called
for the source element, not the targets. I thought that I could just
install a NonResizeableEditPolicy as a SELECTION_FEEDBACK_ROLE and get
the appropriate calls there, but for some reason, this prevents the
ghost feedback figure from showing (even though the right methods seem
to be getting called). Also, from the doc, it seems that a REQ_HOVER
request should be sent when hovering over a part, but I'm not getting
that request.

Any help with this would be greatly appreciated.

thanks,
adam
Previous Topic:About PaletteView
Next Topic:DispatchMouseReleased
Goto Forum:
  


Current Time: Wed Apr 24 19:43:43 GMT 2024

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

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

Back to the top