Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
EMF Compare/Specifications/UMLDanglingStereotypes
UML Dangling Stereotypes
This specification page has been created to resolve the problem raised by https://bugs.eclipse.org/bugs/show_bug.cgi?id=467866.
The problem comes from UML dangling stereotypes in UML models. UML dangling stereotypes happen when a stereotype linked to a model element is still in a model while the model element has been removed.
Papyrus automatically detects and fixes dangling stereotypes by removing them.
Currently, such changes are wrongly detected and displayed as ResourceAttachmentChanges in the comparison models, and displayed to users as "uncontrolled from xxx.uml".
Example | BEFORE | AFTER |
---|---|---|
LEFT MODEL |
ModelA <<Block>> ClassA <<Block> Stereotype |
ModelA |
RIGHT MODEL |
ModelA <<Block>> ClassA <<Block> Stereotype |
ModelA <<Block> Stereotype |