Skip to main content



      Home
Home » Eclipse Projects » Sirius » Reusing Compley Diagram Elements
Reusing Compley Diagram Elements [message #1459514] Sun, 02 November 2014 10:45 Go to next message
Eclipse UserFriend
Dear Sirius community,

i am currently working on a View Specification Project and want to do the following:

There is a defined Diagram Element "X" with tooling, style and some child elements.
Now i want to use the exact same element "X" at two positions in my "Layer tree". What i can do now is a simple copy & paste, but then i have the problem of redundancy regarding to changes/updates... and i have to add the copy of X to all the tooling and so on.

Does anybody know if there is something like a reference to the Diagram Element "X", which i can use at another "place" in the layer tree?

Regards,
Bastian
Re: Reusing Compley Diagram Elements [message #1462442 is a reply to message #1459514] Wed, 05 November 2014 10:25 Go to previous messageGo to next message
Eclipse UserFriend
Hi

Le 03/11/2014 12:48, Bastian Mohrmann a écrit :
> Dear Sirius community,
>
> i am currently working on a View Specification Project and want to do
> the following:
>
> There is a defined Diagram Element "X" with tooling, style and some
> child elements.
> Now i want to use the exact same element "X" at two positions in my
> "Layer tree". What i can do now is a simple copy & paste, but then i
> have the problem of redundancy regarding to changes/updates... and i
> have to add the copy of X to all the tooling and so on.
>
> Does anybody know if there is something like a reference to the Diagram
> Element "X", which i can use at another "place" in the layer tree?

In your Viewpoint Specification Model (VSM, the odesign file), you have
defined some Diagram Element Mappings. I think you are just looking for
the reusedXXXMappings references/properties available on the Layer and
also on the Node and Container mappings.

Those properties are displayed in the Import tab of the properties view.

Note that the semantic candidates expression have to be valid from the
mapping locations and from the reused locations.

You have also the possibility to resued tools in a ToolSection.


>
> Regards,
> Bastian

Regards

--
Maxime - Obeo

Need professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Reusing Compley Diagram Elements [message #1469009 is a reply to message #1462442] Tue, 11 November 2014 03:11 Go to previous messageGo to next message
Eclipse UserFriend
Thank you for the quick reply, i will try that out!
Re: Reusing Compley Diagram Elements [message #1549454 is a reply to message #1469009] Tue, 06 January 2015 09:41 Go to previous message
Eclipse UserFriend
It worked perfectly fine! Thanks!
Previous Topic:How to disable drag/drop elements in a diagram
Next Topic:Sample tree diagram specification
Goto Forum:
  


Current Time: Sun Jul 27 15:31:56 EDT 2025

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

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

Back to the top