Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » TransferDropTargetListener.drop() -> ContainerEditPolicy.getCreateCommand
TransferDropTargetListener.drop() -> ContainerEditPolicy.getCreateCommand [message #237267] Fri, 27 July 2007 15:49
Eclipse UserFriend
Originally posted by: neliacatarina.portugalmail.pt

Hi
I'm getting a little desperated here...

I have a tree view and an editor view. I want to drag an object from the tree to and editpart, create the correspondent model and associate it with that editpart.
My problem is that the only way I see to access the dropped event.data is overriding drop(). But if I do this the ContainerEditPolicy.getCreateCommand(Request), who creates the model, is never called....
Do you know another way for me to get event.data without having to override drop()?

Any help would be really apreciated.
Thanks
Previous Topic:creating property sheet for a shape using GEF
Next Topic:export editor diagram to a jpeg file without physically opening the editor
Goto Forum:
  


Current Time: Thu Mar 28 13:31:11 GMT 2024

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

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

Back to the top