Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/uml/assistants/org.eclipse.papyrus.uml.profile.types.generator.ui/plugin.xml')
-rw-r--r--plugins/uml/assistants/org.eclipse.papyrus.uml.profile.types.generator.ui/plugin.xml52
1 files changed, 52 insertions, 0 deletions
diff --git a/plugins/uml/assistants/org.eclipse.papyrus.uml.profile.types.generator.ui/plugin.xml b/plugins/uml/assistants/org.eclipse.papyrus.uml.profile.types.generator.ui/plugin.xml
new file mode 100644
index 00000000000..9953366b8ba
--- /dev/null
+++ b/plugins/uml/assistants/org.eclipse.papyrus.uml.profile.types.generator.ui/plugin.xml
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.4"?>
+<plugin>
+ <extension
+ point="org.eclipse.ui.menus">
+ <menuContribution
+ allPopups="false"
+ locationURI="popup:org.eclipse.papyrus.views.modelexplorer.modelexplorer.popup?after=tools">
+ <menu
+ label="Generate Tooling Model"
+ id="org.eclipse.papyrus.uml.profile.types.generator.ui.generateMenu">
+ <command
+ commandId="org.eclipse.papyrus.uml.profile.types.generator.ui.generateElementTypes"
+ id="org.eclipse.papyrus.uml.profile.types.generator.ui.generateElementTypes"
+ label="Element Types..."
+ style="push">
+ <visibleWhen
+ checkEnabled="false">
+ <with
+ variable="selection">
+ <test
+ property="org.eclipse.papyrus.views.modelexplorer.tester.eClass"
+ value="uml::Profile">
+ </test>
+ <iterate
+ operator="and"
+ ifEmpty="false">
+ <test
+ property="org.eclipse.papyrus.uml.tools.isRoot">
+ </test>
+ </iterate>
+ </with>
+ </visibleWhen>
+ </command>
+ <separator
+ name="additions"
+ visible="false">
+ </separator>
+ </menu>
+ </menuContribution>
+ </extension>
+ <extension
+ point="org.eclipse.ui.commands">
+ <command
+ defaultHandler="org.eclipse.papyrus.uml.profile.types.generator.ui.internal.handlers.GenerateElementTypesHandler"
+ description="Launch a wizard for generation of an Element Type Configurations model for the selected UML profile"
+ id="org.eclipse.papyrus.uml.profile.types.generator.ui.generateElementTypes"
+ name="Generate Element Types Model">
+ </command>
+ </extension>
+
+</plugin>

Back to the top