Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Reconnecting Source Problems(I have a problem to reconnect the Source of an edge in my University Project)
Reconnecting Source Problems [message #1787426] Fri, 25 May 2018 08:38 Go to next message
Andreas Buchner is currently offline Andreas BuchnerFriend
Messages: 36
Registered: August 2017
Member
Hi,

In my MetaModel I have a Class with a reference to itself.

This is how it Looks like in the frontEnd
index.php/fa/32907/0/

I want to move the arrow from the Safety Scan to the Functional Safety Concept.
It is important to mention, that I have changed the arrows pointer side.
index.php/fa/32905/0/
So the Pointer of the Arrow is on the source side.

On the other hand, when I reconnect the Target, everything works perfectly.
The Plan FS Activities is adressable by var:source
The Safety Scan is adressable by var:element
and the FS Concept is adressable by var:target
index.php/fa/32910/0/

to reconnect the Source does not work.

The safety scan is adressable by var:element,source,preTarget and preSource.
The Fs Concept is adressable by var: target.
index.php/fa/32913/0/

All I end up with is this
index.php/fa/32908/0/

How can I adress the Plan Functional Safety Activities???

Thanks a lot again
Re: Reconnecting Source Problems [message #1787442 is a reply to message #1787426] Fri, 25 May 2018 12:35 Go to previous message
Laurent Redor is currently offline Laurent RedorFriend
Messages: 238
Registered: July 2009
Senior Member
Hello,
Do you have a look to Reconnect Edge tool documentation [1]? The accessible variables are explained. There si usually a confusion between the variables name and the objects pointed by them.
Otherwise, you have an example in EcoreTools [2] of reconnect tool with a "class with a reference to itself" [3].

Regards,

[1] https://www.eclipse.org/sirius/doc/specifier/diagrams/Diagrams.html#edge_tools
[2] https://www.eclipse.org/ecoretools/
[3] http://git.eclipse.org/c/ecoretools/org.eclipse.ecoretools.git/tree/org.eclipse.emf.ecoretools.design/description/ecore.odesign#n638


Laurent Redor - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Previous Topic:Extending Square Edit Part
Next Topic:Updating model element properties with Sirius.
Goto Forum:
  


Current Time: Fri Sep 21 11:47:32 GMT 2018

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

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

Back to the top