Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356727 - [Class Diagram] Broken diagram when linking a Comment to an Element
Summary: [Class Diagram] Broken diagram when linking a Comment to an Element
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.9.0   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Amine EL KOUHEN CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-05 08:19 EDT by Camille Letavernier CLA
Modified: 2012-02-10 11:36 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Camille Letavernier CLA 2011-09-05 08:19:15 EDT
When we add a comment in a Class diagram, then link it to a UML Element, an exception is raised. Moreover, it is not possible to re-open the diagram afterwards.

The problem seems to come from the oep.decoration plug-in.
Comment 1 Camille Letavernier CLA 2012-02-10 11:24:36 EST
Removed the dependency to GMF Notation

Added a test to prevent instantiation of a DecorationUtils with a Null parameter.
Comment 2 Camille Letavernier CLA 2012-02-10 11:36:53 EST
Removed the decoration for GMF Views which are not related to a semantic UML Element