Hello and a good day, one of our projects is struggling with the usage and cleanup of stereotypes. They are suffering from wrongly added stereotypes from older EA-versions.
I understood from these two threads
-
https://www.sparxsystems.com/forums/smf/index.php/topic,43282.msg256670.html#msg256670-
https://www.sparxsystems.com/forums/smf/index.php/topic,42491.msg252682.html#msg252682that this can be handled in a better way with EA 15.1.
Nevertheless the maintenance raises still some questions.
The UML-type-maintenance dialog is fine and the deletion of stereotypes works, but I miss the possibility to check and/or to reset/ disassociate unwanted stereotypes that are marked as "to be deleted".
As also watched here
-
https://www.sparxsystems.com/forums/smf/index.php/topic,42824.msg254135.html#msg254135 (last post)
the stereotype is deleted and can not be assigned again to other objects but the value is still assigned to the objects which have used the stereotype so far. This deleted stereotype will not be replaced by a new associated one... the new one will just be added too.
Knowing that behaviour I can run a simple model-search, sort the list by stereotypes and disassociate the stereotypes-"to be deleted" one after each other before I delete it... so far so good...
Wouldn't it be good feature to integrate such a (optional) "reset" in the delete-function or is that possible and I'm not aware of this possibility?
Is there a way to identify "orphan"-stereotypes and to remove them from the object-properties?
Thanks a lot
Klaus