blob: bd653c9c7cd815c9682e055486133275e305037f (
plain) (
tree)
|
|
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension-point id="org.eclipse.papyrus.uml.modelrepair.profileSwitchPreconditions" name="Profile Switch Preconditions" schema="schema/profileSwitchPreconditions.exsd"/>
<extension
point="org.eclipse.ui.menus">
<menuContribution
allPopups="false"
locationURI="popup:org.eclipse.papyrus.views.modelexplorer.modelexplorer.popup?after=tools">
<menu
icon="icons/papyrus.png"
id="org.eclipse.papyrus.uml.modelrepair.refactor"
label="Refactor">
<command
commandId="org.eclipse.papyrus.uml.modelrepair.switchprofiles"
style="push"
label="Switch Profiles...">
<visibleWhen
checkEnabled="false">
<with
variable="selection">
<test
property="org.eclipse.papyrus.views.modelexplorer.tester.eClass"
value="uml::Package">
</test>
<iterate
operator="and"
ifEmpty="false">
<test
property="org.eclipse.papyrus.uml.tools.isRoot">
</test>
</iterate>
</with>
</visibleWhen>
</command>
<command
commandId="org.eclipse.papyrus.uml.modelrepair.switchlibraries"
label="Switch Libraries..."
style="push">
<visibleWhen
checkEnabled="false">
<with
variable="selection">
<test
property="org.eclipse.papyrus.views.modelexplorer.tester.eClass"
value="uml::Package">
</test>
<iterate
ifEmpty="false"
operator="and">
<test
property="org.eclipse.papyrus.uml.tools.isRoot">
</test>
</iterate>
</with>
</visibleWhen>
</command>
</menu>
</menuContribution>
</extension>
<extension
point="org.eclipse.ui.commands">
<command
defaultHandler="org.eclipse.papyrus.uml.modelrepair.handler.ModelRepairHandler"
id="org.eclipse.papyrus.uml.modelrepair.editlinks"
name="Edit model dependencies">
</command>
<command
defaultHandler="org.eclipse.papyrus.uml.modelrepair.handler.SwitchProfileHandler"
id="org.eclipse.papyrus.uml.modelrepair.switchprofiles"
name="Switch Profiles">
</command>
<command
defaultHandler="org.eclipse.papyrus.uml.modelrepair.handler.SwitchLibraryHandler"
id="org.eclipse.papyrus.uml.modelrepair.switchlibraries"
name="Switch Libraries">
</command>
</extension>
<extension
point="org.eclipse.papyrus.infra.emf.dependencyUpdateParticipant">
<replaceParticipant
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>
<extension
point="org.eclipse.papyrus.uml.modelrepair.profileSwitchPreconditions">
<precondition
class="org.eclipse.papyrus.uml.modelrepair.internal.stereotypes.StereotypeApplicationPrecondition">
</precondition>
</extension>
<extension
point="org.eclipse.papyrus.infra.core.service">
<service
classname="org.eclipse.papyrus.uml.modelrepair.internal.stereotypes.StereotypeRepairService"
description="Service for interaction with the stereotype repair function."
id="org.eclipse.papyrus.uml.modelrepair.service.IStereotypeRepairService"
priority="50"
startKind="lazy">
<dependsOn
serviceKeyRef="org.eclipse.papyrus.infra.core.resource.ModelSet">
</dependsOn>
</service>
</extension>
</plugin>
|