Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 335662 - Display of EnumerationLiterals in static profile
Summary: Display of EnumerationLiterals in static profile
Status: CLOSED WORKSFORME
Alias: None
Product: Papyrus
Classification: Modeling
Component: Views (show other bugs)
Version: 0.7.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-28 04:32 EST by Arnaud Cuccuru CLA
Modified: 2013-03-25 08:53 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 Arnaud Cuccuru CLA 2011-01-28 04:32:23 EST
In the Properties/Appearance view, clicking on "Display selected stereotypes..." raises the following exception in the case where selected property is typed by an enumeration and the profile is implemented as a static profile:
java.lang.ClassCastException: org.eclipse.papyrus.sysml.portandflows.FlowDirection cannot be cast to org.eclipse.uml2.uml.EnumerationLiteral

      at org.eclipse.papyrus.umlutils.StereotypeUtil.getPropertyValueForEnumerationType(StereotypeUtil.java:365)
Comment 1 Camille Letavernier CLA 2013-03-25 08:53:52 EDT
Works in the current version (0.10M6)