Community
Participate
Working Groups
Build Identifier: 0.7.0.v201004271830 In case of a static profile, stereotype applications appear in the model explorer before the model package starts. Reproducible: Always Steps to Reproduce: 1. Open a model with a static profile applied 2. 3.
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.