Skip to main content



      Home
Home » Eclipse Projects » GEF » Passing Node Instance to EditPolicy
Passing Node Instance to EditPolicy [message #214613] Wed, 19 April 2006 05:14
Eclipse UserFriend
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: Mon Jun 09 04:18:14 EDT 2025

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

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

Back to the top