Community
Participate
Working Groups
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.
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