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: 10
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: 21
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: 21
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 messageGo to next message
Romain Dupont is currently offline Romain DupontFriend
Messages: 10
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).

Re: Capability and contextual architecture [message #1860700 is a reply to message #1818312] Sat, 26 August 2023 17:41 Go to previous message
Eclipse UserFriend
AI Spam removed

[Updated on: Wed, 04 October 2023 13:16] by Moderator

Report message to a moderator

Previous Topic:Capella Fails to Start
Next Topic:REC/RPL anomaly for v1.3.1?
Goto Forum:
  


Current Time: Thu Apr 25 21:45:25 GMT 2024

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

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

Back to the top