diff options
Diffstat (limited to 'plugins/uml/assistants/org.eclipse.papyrus.uml.profile.assistants.generator.ui/plugin.xml')
-rw-r--r-- | plugins/uml/assistants/org.eclipse.papyrus.uml.profile.assistants.generator.ui/plugin.xml | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/plugins/uml/assistants/org.eclipse.papyrus.uml.profile.assistants.generator.ui/plugin.xml b/plugins/uml/assistants/org.eclipse.papyrus.uml.profile.assistants.generator.ui/plugin.xml new file mode 100644 index 00000000000..8aec488df80 --- /dev/null +++ b/plugins/uml/assistants/org.eclipse.papyrus.uml.profile.assistants.generator.ui/plugin.xml @@ -0,0 +1,44 @@ +<?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.uml.profile.elementtypesconfigurations.generator.ui.generateMenu?after=additions"> + <command + commandId="org.eclipse.papyrus.uml.profile.assistants.generator.ui.generateModelAssistants" + id="org.eclipse.papyrus.uml.profile.assistants.generator.ui.generateModelAssistants" + label="Diagram Assistants..." + 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> + </menuContribution> + </extension> + <extension + point="org.eclipse.ui.commands"> + <command + defaultHandler="org.eclipse.papyrus.uml.profile.assistants.generator.ui.internal.handlers.GenerateModelingAssistantsHandler" + description="Launch a wizard for generation of a Modeling Assistants model for the selected UML profile" + id="org.eclipse.papyrus.uml.profile.assistants.generator.ui.generateModelAssistants" + name="Generate Modeling Assistants"> + </command> + </extension> + +</plugin> |