Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » modify the default phantom node creation
modify the default phantom node creation [message #174560] Wed, 27 February 2008 14:16 Go to next message
wong is currently offline wongFriend
Messages: 54
Registered: July 2009
Member
Hello,

I want modify a default generated phantom node creatation code for the
tool pallette. If user create a phantom node from from tool pallette. It
will automatic create an container and set a connection to the container.
I do not figure out how to do it.

Thank you,
Wong
Re: modify the default phantom node creation [message #175248 is a reply to message #174560] Mon, 03 March 2008 19:26 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello wong,

See xxxCreateCommand generated for your phantom nodes - you have to modify
doDefaultElementCreation method. This is a method where newly created phantom
element will be attached to the resource contents.

-----------------
Alex Shatalin
Previous Topic:Run editors in the same environment
Next Topic:Properties of Compartment
Goto Forum:
  


Current Time: Fri Apr 26 10:39:35 GMT 2024

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

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

Back to the top