|Re: Representing nodes from imported model [message #1384842 is a reply to message #1384822]
||Mon, 02 June 2014 13:29
|| Maxime Porhel
Registered: July 2009
Location: Nantes, France
Le 02/06/2014 13:07, Wilbert Alberts a écrit :|
> I've created two metamodels. One metamodel (called 'interfaces') allows
> definition of interfaces with their operations. The other metamodel
> (called 'components') allows the definition of components. A component
> might provide or require interfaces (as defined in the 'interfaces'
> Using EMFText, I have a textual editor for interfaces models. For
> components, I would like to realize a Sirius based graphical editor. It
> should allows the creation of components and associating them with
> interfaces (defined in other interface models). I'm not necesarily
> interested in the ability to edit interface models from the graphical
> I created an example consisting of a component and two interfaces. I
> succeed in visualising the component. However, I don't succeed in
> visualizing the associated interfaces. Is there something special to be
> done when model elements are originating from a different resource?
It seems you should improve the semantic candidates expression of your
interface mapping. I see too possibilities: an empty expression (Sirius
should look into all semantic resources of the session for element which
are instances of the mapping's domain class), or create a Java service
to subtly retrieve the associated interface from the diagram/container
> Any clue?
Maxime Porhel - Obeo
Need training or professional services for Sirius?
Join the Sirius community at SiriusCon. Register for free: Nov. 9th Paris
Powered by FUDForum
. Page generated in 0.03934 seconds