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:XML Tree with GEF
Next Topic:Q re how to hide/collapse tree branch in GEF editor
Goto Forum:
  


Current Time: Sun Dec 04 10:14:20 GMT 2022

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

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

Back to the top