Skip to main content



      Home
Home » Eclipse Projects » Sirius » Changing the edge mapping in a diagram extension
Changing the edge mapping in a diagram extension [message #1740333] Thu, 11 August 2016 14:00 Go to next message
Eclipse UserFriend
Hi all,

I have created a basic diagram description containing nodes, containers and edges (both relation-based and element-based).
In a diagram extension I now have a new meta-model with a meta-class extending the abstract meta-class all my nodes and containers of the basic diagram are sub-classes of. Therefore, I need the new node which is created in the diagram extension to be able to connect to the existing ones.
There is a meta-class represented as element-based relation given that connects to the same abstract meta-class so this should be possible at least on meta-model side.

I so far tried to import the connection from the base diagram description but all I can do then is to change the style but not the mapping. Is there any way to do this without adding a new element based edge with a corresponding palette entry in my diagram extension?

Greetings,
Michael
Re: Changing the edge mapping in a diagram extension [message #1740644 is a reply to message #1740333] Tue, 16 August 2016 11:27 Go to previous message
Eclipse UserFriend
Hello,

Indeed, the Edge Mapping import is more limited and can only be used to redefine the style.

You have added a node mapping import because of the new meta-class. What is your issue with the edge mapping that is defined in the original VSM (.design) applied on the extended viewpoint? What did you want to change that you need to import and redefine the edge mapping?

Regards,
Steve
Previous Topic:Tree diagram with tabbed properties
Next Topic:Get the representation name of a diagram
Goto Forum:
  


Current Time: Sat Mar 22 12:48:39 EDT 2025

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

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

Back to the top