Skip to main content



      Home
Home » Eclipse Projects » Sirius » InstanceRole with port-like decoration
InstanceRole with port-like decoration [message #1795201] Tue, 18 September 2018 06:33 Go to next message
Eclipse UserFriend
Hi,

Is it possible to add a node on the border of an InstanceRole header box? And if true, is it also possible to define such a node in a DiagramExtension? I wonder, because in a DiagramExtension layer, I can only add Node Mappings, but no InstanceRole mappings.
Re: InstanceRole with port-like decoration [message #1795217 is a reply to message #1795201] Tue, 18 September 2018 10:23 Go to previous messageGo to next message
Eclipse UserFriend
Hi Felix,

I think you might try to declare a DiagramExtension with a layer and a NodeMappingImport which will reference the InstanceRole mapping you want to extend.

But I am quite sure that this will not work as the SequenceDiagram refresh might fail to identify this resulting ImportMapping as an InstanceRoleMapping.
The VSM editor is not currently able to identify that your diagram extension targets a SequenceDiagramDescription. It could be a good improvement: this could allow to add the create chid menu with all the specific types of mapping and tools provided by the Sequence diagram type.

For now, you shoudl consider that DiagramExtension cannot be used to extends Sequence diagrams.

Regards.
Re: InstanceRole with port-like decoration [message #1795223 is a reply to message #1795217] Tue, 18 September 2018 11:20 Go to previous message
Eclipse UserFriend
Ok thank you Maxime.
Previous Topic:Hidding double links
Next Topic:EMF Extended meta data annotation
Goto Forum:
  


Current Time: Mon Jul 28 10:32:31 EDT 2025

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

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

Back to the top