Skip to main content



      Home
Home » Polarsys » Capella workbench » Capability and contextual architecture(M2DOC)
Capability and contextual architecture [message #1818312] Thu, 12 December 2019 05:57 Go to next message
Eclipse UserFriend
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 09:44 Go to previous messageGo to next message
Eclipse UserFriend
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 10:01 Go to previous messageGo to next message
Eclipse UserFriend
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 09:45 Go to previous messageGo to next message
Eclipse UserFriend
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 13:41 Go to previous message
Eclipse UserFriend
AI Spam removed

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

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


Current Time: Mon Jul 14 20:39:02 EDT 2025

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

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

Back to the top