diff options
Diffstat (limited to 'plugins/toolsmiths/assistants/org.eclipse.papyrus.uml.profile.newchildmenu.generator.ui/plugin.xml')
-rw-r--r-- | plugins/toolsmiths/assistants/org.eclipse.papyrus.uml.profile.newchildmenu.generator.ui/plugin.xml | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/plugins/toolsmiths/assistants/org.eclipse.papyrus.uml.profile.newchildmenu.generator.ui/plugin.xml b/plugins/toolsmiths/assistants/org.eclipse.papyrus.uml.profile.newchildmenu.generator.ui/plugin.xml new file mode 100644 index 00000000000..b996bf535e8 --- /dev/null +++ b/plugins/toolsmiths/assistants/org.eclipse.papyrus.uml.profile.newchildmenu.generator.ui/plugin.xml @@ -0,0 +1,47 @@ +<?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.ui.popup.any?after=additions"> + <command + commandId="org.eclipse.papyrus.uml.profile.newchildmenu.generator.ui.command" + style="push"> + <visibleWhen + checkEnabled="false"> + <with + variable="selection"> + <and> + <count + value="1"> + </count> + <iterate + ifEmpty="false" + operator="or"> + <and> + <instanceof + value="org.eclipse.core.resources.IFile"> + </instanceof> + <test + property="org.eclipse.core.resources.extension" + value="elementtypesconfigurations"> + </test> + </and> + </iterate></and> + </with> + </visibleWhen> + </command> + </menuContribution> + </extension> + <extension + point="org.eclipse.ui.commands"> + <command + defaultHandler="org.eclipse.papyrus.uml.profile.newchildmenu.generator.ui.handlers.GenerateNewChildMenuHandler" + id="org.eclipse.papyrus.uml.profile.newchildmenu.generator.ui.command" + name="Generate NewChild Menu"> + </command> + </extension> + +</plugin> |