| Summary: | Display of EnumerationLiterals in static profile | ||
|---|---|---|---|
| Product: | [Modeling] Papyrus | Reporter: | Arnaud Cuccuru <arnaud.cuccuru> |
| Component: | Views | Assignee: | Project Inbox <mdt-papyrus-inbox> |
| Status: | CLOSED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | sebastien.gerard, yann.tanguy |
| Version: | 0.7.1 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
Works in the current version (0.10M6) |
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)