Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 269492 - [All Diagrams] Display properties of a applied stereotypes as a " comment"
Summary: [All Diagrams] Display properties of a applied stereotypes as a " comment"
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.8.0   Edit
Hardware: All All
: P1 critical (vote)
Target Milestone: 0.8.0   Edit
Assignee: Patrick Tessier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 269486
  Show dependency tree
 
Reported: 2009-03-20 06:36 EDT by Patrick Tessier CLA
Modified: 2013-01-31 07:45 EST (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Tessier CLA 2009-03-20 06:36:04 EDT
In UML, it is poosible to display properties of applied stereotypes in a " comment". Pay attention. this is not a comment element in UML, only a graphical view.
Comment 1 Thibault Landré CLA 2010-08-18 09:12:00 EDT
Any news about this task ?

An option in the appearance property tab exists to select the display to "Shape" but it doesn't seem to work. Is it related with this task ?
Comment 2 Patrick Tessier CLA 2012-11-05 04:00:33 EST
Mechanisms has been added in the revision 9295 to 9316 
done for the branch 0.9.X
Comment 3 Patrick Tessier CLA 2012-11-05 04:11:56 EST
this mechanism has been applied on all diagram. Developper doc and user doc can be found at: org.eclipse.mdt.papyrus/branches/0.9.X/doc/DevelopperDocuments/AppliedStereotypesComment
 it contains a model + 2 documents that could be generated from the model.
Comment 4 Patrick Tessier CLA 2012-11-16 05:26:28 EST
the common diagram of the 0.10.X has now all classes
change the property of the task to adapt the version 0.10.X
Comment 5 Camille Letavernier CLA 2012-11-28 10:42:41 EST
r9500 (Branch 0.9.X):

The Papyrus editor were crashing when opening a diagram containing a non-UML element (e.g. Shortcut). The Stereotype edit policy was installed on non-UML edit parts, resulting in ClassCastException. The issue has been fixed.
The recipe tests have been improved to take this case into account.

An additional recipe test has been added, as the "Reopen diagram" feature does not work correctly with stereotype comments. When re-opening a Diagram (With the Diagram hyperlink for example), the stereotypes are displayed twice: once with braces, and a second time as comments.

Workaround: refresh the diagram; the braces notation disappears.

This fix still needs to be applied to 0.10.X
Comment 6 Patrick Tessier CLA 2012-12-03 09:10:07 EST
in order to ensure the modification on the 0.10.x all diagrams will regenerated.
Comment 7 Patrick Tessier CLA 2012-12-03 10:15:09 EST
Done for the class diagram in the revision 9543
Done for the activity diagram in the revision 9544
Comment 8 Patrick Tessier CLA 2012-12-04 04:48:44 EST
Communication Diagram has bee regenerated (revision 9548)
Component diagram has been regenerated (revision 9549)
Comment 9 Patrick Tessier CLA 2012-12-04 09:03:28 EST
Composite diagram has been regenerated (revision 9550)
deployment regenerated (revision 9558)
Comment 10 Patrick Tessier CLA 2012-12-04 10:21:39 EST
Use cases was regenerated at the version 9559
statemachine regenerated a the version 9563
Comment 11 Patrick Tessier CLA 2012-12-05 04:36:28 EST
Profile diagram has been regenerated in the revision 9568
Comment 12 Olivier Melois CLA 2012-12-10 05:12:40 EST
Ported the changes to branch 0.8.X-EYY 
(revision 9610)
Comment 13 Patrick Tessier CLA 2013-01-29 05:46:51 EST
documents about appliedStereotypeComment have been commited in the head in the revision 9901
Comment 14 Patrick Tessier CLA 2013-01-30 10:07:36 EST
In the head, a plugin /org.eclipse.papyrus.uml.diagram.stereotype.edition has been committed, it contains policy provider and editpart provider committed in the revision 9920
Comment 15 Patrick Tessier CLA 2013-01-30 10:08:07 EST
the clazz diagram has been committed in the revision 9922
Comment 16 Patrick Tessier CLA 2013-01-30 10:08:53 EST
the activity diagram in the head has bee committed in the revision 9923
Comment 17 Patrick Tessier CLA 2013-01-30 10:21:19 EST
the communication diagram has been committed in the revision 9924 (head)
Comment 18 Patrick Tessier CLA 2013-01-30 10:25:25 EST
Done for the component diagram revision 9925 (headà
Comment 19 Patrick Tessier CLA 2013-01-31 03:17:05 EST
Done for the composite diagram in the revision 9927
Comment 20 Patrick Tessier CLA 2013-01-31 03:21:47 EST
Done for the deployement diagram revision 9928 (head)
Comment 21 Patrick Tessier CLA 2013-01-31 03:26:40 EST
Done for the package diagram in the head revision 9929
Comment 22 Patrick Tessier CLA 2013-01-31 03:31:52 EST
Done for the state machine (head) revision 9930
Comment 23 Patrick Tessier CLA 2013-01-31 04:14:47 EST
Done on the requirement diagram for the (head) revision 9932
Comment 24 Patrick Tessier CLA 2013-01-31 04:20:27 EST
done for the internalblock diagram revision 8822
Comment 25 Patrick Tessier CLA 2013-01-31 04:25:43 EST
done for the block diagram revision 9934
Comment 26 Patrick Tessier CLA 2013-01-31 07:41:55 EST
The plugin tests model has been update with a model that contains all possible diagrams done in the revision 9948
Comment 27 Patrick Tessier CLA 2013-01-31 07:45:33 EST
The functionality has been added in the head.
2 bugs have been opened:
-399611: [stereotype Comment] Stereotype comment cannot be display on timing diagram
https://bugs.eclipse.org/bugs/show_bug.cgi?id=399611
-399589: [stereotype comment] it is not possible to see comment stereotype on actor in usecase diagram
https://bugs.eclipse.org/bugs/show_bug.cgi?id=399589