|Re: Programmatically adding elements to a Representation [message #1702334 is a reply to message #1702209]
||Tue, 21 July 2015 15:31
|| Florian Barbin
Registered: August 2010
Are you based on your own modeler or are you using Ecore-tools ?
The Ecore-tools diagram elements are “unsynchronized” (this option can
be specified for each mapping in the *.odesign ) . That means the
representation elements have to be manually added by using the palette
On 07/20/2015 07:37 PM, Lukas Meier wrote:
> Hi all,
> I have an ECore-Model and a Representation. When I programmatically
> manipulate the model, these changes should also be shown in the
> For EReferences, EAttributes, etc. this works fine by default. But for
> children of EPackages (like EClass or EPackage) the elements are created
> in the model, but not shown in the Representation. I have to add them
> manually using the editor. It's the same way when the elements in the
> model are created manually.*
> Is there a way to programmatically create representation elements for
> elements added to the model?
> Thank you
> *I edited the model in the tree editor, saved it and hit the
> refresh-button in the Representation.
Florian - Obeo
Need professional services for Sirius?
Powered by FUDForum
. Page generated in 0.01598 seconds