Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Reference between nodes(How you can reference two nodes of a diagram in Sirius)
Reference between nodes [message #1804316] Fri, 22 March 2019 11:02 Go to next message
Federico Ranzato is currently offline Federico RanzatoFriend
Messages: 6
Registered: February 2019
Junior Member

I am working with Obeo Disigner and have the next question. ┬┐How can I create a reference between two nodes in my diagram?

I attach an image of the diagram.
To exemplify what I'm trying to do, suppose I want to reference node AO2 with node AO1, then node AO2 will copy the structure of node AO1, in such a way that it has the same lower nodes and the same relations (OrNode, AM1, AM2, OrNode, AA1)

I would really appreciate if someone could help me.

Re: Reference between nodes [message #1804331 is a reply to message #1804316] Fri, 22 March 2019 14:10 Go to previous message
Steve Monnier is currently offline Steve MonnierFriend
Messages: 487
Registered: May 2011
Senior Member

I guess that among the operation of your Edge Creation Tools you need to add a java service that will process the copy. You can call org.eclipse.emf.ecore.util.EcoreUtil.copy(T) for this operation.

Best regards,

Steve Monnier - Obeo
Need training or professional services for Sirius?
Previous Topic:Sirius Tree Description
Next Topic:How to hide the label programatically on creation of EObject
Goto Forum:

Current Time: Wed Aug 12 07:17:32 GMT 2020

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

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

Back to the top