Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » GMF and EMF synergy II
GMF and EMF synergy II [message #713364] Mon, 08 August 2011 11:50 Go to next message
janpojer is currently offline janpojerFriend
Messages: 40
Registered: July 2011
Member
Hi,

i have been trying to make two editors (GMF and EMF) to interact in a way that when I create a certain tree base structure in EMF I can use such structure later on for updating the GMF palette.

I tried to merge the two editors as described in artical from Mr. V. Wegert (Integrating EMF and GMF Generated Editors) but that models each item i add via EMF to the model. What i am trying to achieve is however to be able to to react to EMF changes in GMF by adding items to palette and not to have them instantly modeled.

Do you think i can achieve that just by preparing the ecore model in certain way or do i have to choose completly different approach...?

Anyone done this before?

Thanks for the help...
Re: GMF and EMF synergy II [message #716017 is a reply to message #713364] Tue, 16 August 2011 08:24 Go to previous messageGo to next message
vinny503 Missing name is currently offline vinny503 Missing nameFriend
Messages: 156
Registered: August 2011
Senior Member
Hi

I have 1 small requirement....
I have the default values set for node in gmf editor....
When I launch the application I edit only the name of the node and corresponding xml
generated has only the name attribute. I dont see the remaining attributes for
node (which was set some default values) in the xml file generated.
How to get that in xml without editing default values ??

thanks,
vinay
Re: GMF and EMF synergy II [message #716029 is a reply to message #713364] Tue, 16 August 2011 08:35 Go to previous message
Mickael Istria is currently offline Mickael IstriaFriend
Messages: 865
Registered: July 2009
Location: Grenoble, France
Senior Member

Hi,

Currently, the palette is not dynamic in GMF, then you'll have to create
a palette that reacts to netification when you add an object into your
model domain.
You won't have anything to do in the model itself, instead you'll have
to code a more dynamic palette.

HTH
--
http://mickaelistria.wordpress.com
http://twitter.com/#!/mickaelistria
http://www.petalslink.com
Previous Topic:where is the attribute names?
Next Topic:How to create WrappingLabelEditPart without domain element
Goto Forum:
  


Current Time: Thu Mar 28 11:38:41 GMT 2024

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

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

Back to the top