<?xml version="1.0" encoding="UTF-8"?> | |
<?eclipse version="3.4"?> | |
<!-- | |
Copyright (c) 2012 David A Carlson. | |
All rights reserved. This program and the accompanying materials | |
are made available under the terms of the Eclipse Public License v1.0 | |
which accompanies this distribution, and is available at | |
http://www.eclipse.org/legal/epl-v10.html | |
Contributors: | |
David A Carlson (XMLmodeling.com) - initial API and implementation | |
--> | |
<plugin> | |
<extension point="org.eclipse.ui.popupMenus"> | |
<objectContribution adaptable="true" | |
objectClass="org.eclipse.uml2.uml.Element" | |
id="org.eclipse.mdht.uml.transform.ui.popupMenus.umlElement"> | |
<menu label="%menu_UMLTransform" path="additions" | |
id="org.eclipse.mdht.uml.transform.ui.popupMenus.umlElement"> | |
<separator name="edit"/> | |
<separator name="port"/> | |
<separator name="transform"/> | |
</menu> | |
</objectContribution> | |
<objectContribution | |
objectClass="org.eclipse.core.resources.IFile" | |
id="org.eclipse.mdht.uml.transform.ui.popupMenus.file"> | |
<menu label="%menu_UMLTransform" path="additions" | |
id="org.eclipse.mdht.uml.transform.ui.popupMenus.file"> | |
<separator name="edit"/> | |
<separator name="port"/> | |
<separator name="transform"/> | |
</menu> | |
</objectContribution> | |
<objectContribution adaptable="true" | |
objectClass="org.eclipse.gmf.runtime.notation.View" | |
id="org.eclipse.mdht.uml.transform.ui.popupMenus.notationView"> | |
<menu label="%menu_UMLTransform" path="additions" | |
id="org.eclipse.mdht.uml.transform.ui.popupMenus.notationView"> | |
<separator name="edit"/> | |
<separator name="port"/> | |
<separator name="transform"/> | |
</menu> | |
</objectContribution> | |
</extension> | |
<!-- | |
<extension | |
point="org.eclipse.ui.popupMenus"> | |
<objectContribution | |
adaptable="true" | |
objectClass="org.eclipse.uml2.uml.Element" | |
id="org.eclipse.mdht.uml.transform.ui.popup"> | |
<action | |
label="%menu_FlattenModel-deprecated" | |
class="org.eclipse.mdht.uml.transform.ui.actions.FlattenModelAction" | |
menubarPath="org.eclipse.mdht.uml.transform.ui.popupMenus.umlElement/transform" | |
enablesFor="1" | |
id="org.eclipse.mdht.uml.transform.ui.actions.FlattenModelAction"> | |
</action> | |
</objectContribution> | |
</extension> | |
--> | |
</plugin> |