Skip to main content



      Home
Home » Eclipse Projects » Sirius » Diagram not showing model elements from imported models
Diagram not showing model elements from imported models [message #1220313] Tue, 10 December 2013 23:52 Go to next message
Eclipse UserFriend
Hey there!

I´m playing around with sirius and I have some problems with the diagram representation. When I load a model as a dependency and want to inspect it with a Designer representation it won´t show any elements in the diagram. When I add for example an extra class in the Diagram view, the model gets extended properly. Also, when I´m reopening the diagram view the newly added class appears so it seems that the references to the before existing model elements are missing. Class-Table representation works fine ands shows all model elements.

Am I missing something or is this a known issue?

Best regards,

Michael
Re: Diagram not showing model elements from imported models [message #1220357 is a reply to message #1220313] Wed, 11 December 2013 04:43 Go to previous message
Eclipse UserFriend
Le 11/12/2013 05:52, Michael Lukaszczyk a écrit :
> Hey there!
Hi Michael,

>
> I´m playing around with sirius and I have some problems with the diagram
> representation.

First of all, thanks for your interest in Sirius.

When I load a model as a dependency and want to inspect
> it with a Designer representation it won´t show any elements in the
> diagram. When I add for example an extra class in the Diagram view, the
> model gets extended properly. Also, when I´m reopening the diagram view
> the newly added class appears so it seems that the references to the
> before existing model elements are missing. Class-Table representation
> works fine ands shows all model elements.
>
> Am I missing something or is this a known issue?

Could you precise which Viewpoint and DiagramDescription are concerned ?
I think you are using the sampe Design Viewpoint and its package
entities diagram.


If you use the sample Design Viewpoint and its package entities diagram,
the semantic candidates expressions on the class mapping 'EC EClass'
only looks for direct children of the current package, its smeantic
candidates expression is [eClassifiers->filter(ecore::EClass)/]. So if
you create an EClass with the tool, it will be dispalyed, but the EClass
which are contained in the loaded model will not.

If you activate the 'Package layer', two new mappings will be inspected
to display packages:
. Design Package (semantic candidates expression:
[eContents(EPackage)/]) to display the children packages (recursively
with contained classes and packages at each level).
. Dropped Package (no semantic candidates and not synchronized) to
display the dropped packages.

If you want to display the package and classes from your loaded model,
you can simply drag and drop the (root) loaded packages on your entities
diagram after the activation of the Package layer.

You will find some information about these unsynchronized Entities
diagrams in Help Contents > Ecore Modeler > Ecore Designer User Guide >
Support for unsynchronized Entities diagrams.

>
> Best regards,
>
> Michael

Regards,

Maxime
Previous Topic:Edge Creation Tool
Next Topic:[ANN] Sirius 0.9.0
Goto Forum:
  


Current Time: Fri Jul 04 22:59:06 EDT 2025

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

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

Back to the top