Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian W. Damus2014-04-09 22:53:30 +0000
committerChristian W. Damus2014-04-15 17:49:12 +0000
commit5ebf7f2fb8d1734fa7e18638df56ff8ce07be53f (patch)
tree1177a2e7a5023af2f8c760d996da57ddc6155c13 /plugins/uml/org.eclipse.papyrus.uml.modelrepair/plugin.xml
parenta69ae2b062345500a8aefc6c90d5795ecda3302b (diff)
downloadorg.eclipse.papyrus-5ebf7f2fb8d1734fa7e18638df56ff8ce07be53f.tar.gz
org.eclipse.papyrus-5ebf7f2fb8d1734fa7e18638df56ff8ce07be53f.tar.xz
org.eclipse.papyrus-5ebf7f2fb8d1734fa7e18638df56ff8ce07be53f.zip
431953: Stereotype garbage left in .uml file after removing profile (crash reason?)
https://bugs.eclipse.org/bugs/show_bug.cgi?id=431953 Implement a model-set snippet that detects and repairs (with user interaction) stereotype applications that either are not described by any profile application in the context of the a resource's root element when a resource is loaded. Includes refactoring of the UI and back-end of the Switch Profiles functionality. Cases of broken stereotypes include: - instances of EClasses from a different version of the profile's Ecore definition than what is currently applied - instances of EClasses from a profile that is not applied at all - instances of EClasses from a profile that may be applied but which is unresolved (no longer exists at its former location)
Diffstat (limited to 'plugins/uml/org.eclipse.papyrus.uml.modelrepair/plugin.xml')
-rw-r--r--plugins/uml/org.eclipse.papyrus.uml.modelrepair/plugin.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/uml/org.eclipse.papyrus.uml.modelrepair/plugin.xml b/plugins/uml/org.eclipse.papyrus.uml.modelrepair/plugin.xml
index bd9c361fecd..1445b6a5011 100644
--- a/plugins/uml/org.eclipse.papyrus.uml.modelrepair/plugin.xml
+++ b/plugins/uml/org.eclipse.papyrus.uml.modelrepair/plugin.xml
@@ -110,5 +110,12 @@
class="org.eclipse.papyrus.uml.modelrepair.internal.participants.StereotypeApplicationRepairParticipant">
</replaceParticipant>
</extension>
+ <extension
+ point="org.eclipse.papyrus.infra.core.model">
+ <modelSetSnippet
+ classname="org.eclipse.papyrus.uml.modelrepair.internal.stereotypes.StereotypeApplicationRepairSnippet"
+ description="Initiates repair of zombie stereotype applications on load of a UML resource.">
+ </modelSetSnippet>
+ </extension>
</plugin>

Back to the top