Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Diagram not showing model elements from imported models
Diagram not showing model elements from imported models [message #1220313] Wed, 11 December 2013 04:52 Go to next message
Michael Lukaszczyk is currently offline Michael LukaszczykFriend
Messages: 14
Registered: November 2013
Junior Member
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 09:43 Go to previous message
Maxime Porhel is currently offline Maxime PorhelFriend
Messages: 516
Registered: July 2009
Location: Nantes, France
Senior Member
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


Maxime Porhel - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Previous Topic:Edge Creation Tool
Next Topic:[ANN] Sirius 0.9.0
Goto Forum:
  


Current Time: Thu Apr 25 14:41:54 GMT 2024

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

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

Back to the top