Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Passing Node Instance to EditPolicy
Passing Node Instance to EditPolicy [message #214613] Wed, 19 April 2006 09:14
Pankaj Bhatia is currently offline Pankaj BhatiaFriend
Messages: 2
Registered: July 2009
Junior Member
Hello,

I am Eclipse/GEF beginner. I am writing a graphical editor for my
metamodel.
and using OpenEditPolicy for double click on a Node (instance). The
Corresponding Command needs the refrence to the node instance (under mouse
pointer).
How can I pass the node instance to my command/EditPolicy? Is it possible
thru NodeEditPart?
E.g. through " installEditPolicy(EditPolicyRoles.OPEN_ROLE, new
NodeOpenEditPolicy());"

Any Hints of code snippets !!

Thanks in advance!
Pankaj
Previous Topic:Choosing constructor to create component instances
Next Topic:Delete Command
Goto Forum:
  


Current Time: Fri Apr 26 14:18:23 GMT 2024

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

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

Back to the top