Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Polarsys » Capella workbench » Capability and contextual architecture(M2DOC)
Capability and contextual architecture [message #1818312] Thu, 12 December 2019 10:57 Go to next message
Romain Dupont is currently offline Romain DupontFriend
Messages: 5
Registered: December 2019
Junior Member
To contextualy generate my documentation (M2DOC) for every capabilities, I would like to get the architectural diagrams (OAB, SAB...) contextual to the capabilities. Is that possible? Do I have to use the field "Element of Interest"? How it works?


Thank you in advance.

Romain
Re: Capability and contextual architecture [message #1818612 is a reply to message #1818312] Fri, 20 December 2019 14:44 Go to previous messageGo to next message
Mathias Cocheri is currently offline Mathias CocheriFriend
Messages: 19
Registered: December 2019
Junior Member
Definitely interested in that too !

As per my understanding, the "element of Interest" was added for that purpose:

"The purpose of this work is to provide a new relation called "Elements of Interest" between diagrams and model elements for navigation and documentation purpose "

From the source code:
Internally this
property is stored as a DAnnotation on the diagrams
RepresentationDescriptor


If you can list DAnnotation refereing to a specific element of the model, you could get back to the diagrams using .eContainer() I think.
Re: Capability and contextual architecture [message #1818613 is a reply to message #1818612] Fri, 20 December 2019 15:01 Go to previous messageGo to next message
Mathias Cocheri is currently offline Mathias CocheriFriend
Messages: 19
Registered: December 2019
Junior Member
From a Diagram -> Element of model:

self.eAllContents().references


Trying to get to do the opposite now ...
Re: Capability and contextual architecture [message #1818722 is a reply to message #1818613] Tue, 24 December 2019 14:45 Go to previous message
Romain Dupont is currently offline Romain DupontFriend
Messages: 5
Registered: December 2019
Junior Member
Thank you !
But the difficult part is to get the related DReprestationDescriptor of the DRepresentation (which is return by the representationByDescriptionName sirius service).

Next Topic:Migration to 1.4.0
Goto Forum:
  


Current Time: Mon Feb 17 22:49:12 GMT 2020

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

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

Back to the top