Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Reusing Compley Diagram Elements
Reusing Compley Diagram Elements [message #1459514] Sun, 02 November 2014 15:45 Go to next message
Bastian Mohrmann is currently offline Bastian MohrmannFriend
Messages: 12
Registered: November 2014
Junior Member
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 15:25 Go to previous messageGo to next message
Maxime Porhel is currently offline Maxime PorhelFriend
Messages: 482
Registered: July 2009
Location: Nantes, France
Senior Member
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


Maxime Porhel - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius

Join the Sirius community at SiriusCon. Register for free: Nov. 9th Paris
http://www.siriuscon.org/
Re: Reusing Compley Diagram Elements [message #1469009 is a reply to message #1462442] Tue, 11 November 2014 08:11 Go to previous messageGo to next message
Bastian Mohrmann is currently offline Bastian MohrmannFriend
Messages: 12
Registered: November 2014
Junior Member
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 14:41 Go to previous message
Bastian Mohrmann is currently offline Bastian MohrmannFriend
Messages: 12
Registered: November 2014
Junior Member
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: Thu Apr 02 14:01:24 GMT 2020

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

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

Back to the top