Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 368143 - <<documentation>> comment should incorporate its container (UML::Element) in annotatedElement list
Summary: <<documentation>> comment should incorporate its container (UML::Element) in ...
Status: CLOSED INVALID
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.8.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-09 07:08 EST by Marc-Florian Wendland CLA
Modified: 2014-04-11 06:27 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc-Florian Wendland CLA 2012-01-09 07:08:51 EST
The UML drawing capabilities of Papyrus can be used to create a model which is later imported by EMF'S UML importer as EMF model. The EMF importer allows the definition of comments as documentation for the elements. Therefore, a UML::Comment must have its annotatedElement list set with those elements, which are documented with the body of the annotating element.

Papyrus offers its own documentation mechanism, which is based on a stereotype <<documentation>> and the corresponding tooling (Documentation view). Unfortunately, such an automatically integrated comment does not set the annotatedElement list. 

To strengthen the meta-modeling capabilities of Payprus MDT and the integration with EMF, the <<documentation>> base_Comment element should insert its owning container (the element which is documented) into the annotatedElement list.
Comment 1 Camille Letavernier CLA 2014-04-11 06:27:23 EDT
The <<Documentation>> stereotype has been removed from Papyrus in 0.9.0

The current "Comments" tab can be used to attach comments directly as an "annotating element" of the current element

I close this task