| Summary: | [Model Explorer] Stereotype applications appear in model explorer | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Modeling] Papyrus | Reporter: | Ansgar Radermacher <ansgar.radermacher> | ||||||
| Component: | Core | Assignee: | Patrick Tessier <Patrick.Tessier> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | critical | ||||||||
| Priority: | P3 | CC: | rschnekenburger | ||||||
| Version: | 0.7.0 | Flags: | sebastien.gerard:
iplog-
|
||||||
| Target Milestone: | 0.7.0 | ||||||||
| Hardware: | PC | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Ansgar Radermacher
I will work on that Created attachment 172097 [details]
mylyn/context/zip
Impacted plugins
A new content provider has created in the uml modelexplorer. The old content provider has a low priority and by default it is not displayed. The UML content provider has a higher priority and it is used by default. It contains methods that comes from UML plugin in order to filter stereotype application. The patch does not work Created attachment 175062 [details]
Modification of content provider (filtering)
Modifies the getRootElements operation of the content provider. Filters returned elements: only instances of packages are returned.
Patch has been tested with stereotype application of the static profiles MARTE and FCM.
Now, only stereotype applications that are invalid (typically, due to a profile that is not available or has modified IDs) are shown in the model explorer. While it may still be considered as a bug, I find it rather helpful as an indication of a failed stereotype application which might otherwise remain unnoticed as "garbage" in the model. |