Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.generation/plugin.xml')
-rw-r--r--extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.generation/plugin.xml35
1 files changed, 35 insertions, 0 deletions
diff --git a/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.generation/plugin.xml b/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.generation/plugin.xml
new file mode 100644
index 00000000000..ad137041cb8
--- /dev/null
+++ b/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.generation/plugin.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.4"?>
+<plugin>
+ <extension point="org.eclipse.ui.commands">
+ <command
+ id="org.eclipse.papyrus.adl4eclipse.generation.command.popup.generateSelected"
+ name="Generate">
+ </command>
+ </extension>
+ <extension point="org.eclipse.ui.handlers">
+ <handler
+ class="org.eclipse.papyrus.adl4eclipse.generation.handler.GenerateSelected"
+ commandId="org.eclipse.papyrus.adl4eclipse.generation.command.popup.generateSelected">
+ </handler>
+ </extension>
+ <extension point="org.eclipse.ui.menus">
+ <menuContribution locationURI="popup:org.eclipse.papyrus.views.modelexplorer.modelexplorer.popup">
+ <menu label="ADL4Eclipse">
+ <visibleWhen checkEnabled="false">
+ <iterate ifEmpty="false" operator="and">
+ <adapt type="org.eclipse.emf.ecore.EObject">
+ <instanceof value="org.eclipse.uml2.uml.Component"/>
+ </adapt>
+ </iterate>
+ </visibleWhen>
+
+ <command
+ commandId="org.eclipse.papyrus.adl4eclipse.generation.command.popup.generateSelected"
+ label="Generate"
+ style="push">
+ </command>
+ </menu>
+ </menuContribution>
+ </extension>
+</plugin>

Back to the top