Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Direct Edit Label for Relation Based Edge
Direct Edit Label for Relation Based Edge [message #1777869] Tue, 05 December 2017 13:27 Go to next message
Bo Liu is currently offline Bo LiuFriend
Messages: 32
Registered: July 2016
Member
Hi Community,

I want to implement the direct edit label for a relation based edge.
How can I get the source and target element of the edge?
I want to set some properties of the source and target element by editing the label for relation based edge.

Re: Direct Edit Label for Relation Based Edge [message #1777933 is a reply to message #1777869] Wed, 06 December 2017 10:37 Go to previous message
Laurent Fasani is currently offline Laurent FasaniFriend
Messages: 182
Registered: October 2014
Senior Member
Hello

Currently, only the target semantic object of the DRepresentationElement is available as variable self.
NodeMapping -> the semantic object of the represented DNode
ElementBasedEdge-> the semantic object of the represented DEdge
RelationBasedEdge-> the semantic object of the source DNode

Feel free to open an enhancement request in the Sirius BugZilla to have access to more variable sych as source and target node and their corresponding semantic object.

Regards
Laurent


Laurent Fasani - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Previous Topic:Exception NullPointerException in DeferredLayoutCommand
Next Topic:Adding jar Library to Viewpoint Project
Goto Forum:
  


Current Time: Thu Apr 25 04:50:24 GMT 2024

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

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

Back to the top