Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/org.eclipse.papyrus.profile.facets.generation.acceleo.ui/plugin.xml')
-rw-r--r--sandbox/org.eclipse.papyrus.profile.facets.generation.acceleo.ui/plugin.xml71
1 files changed, 71 insertions, 0 deletions
diff --git a/sandbox/org.eclipse.papyrus.profile.facets.generation.acceleo.ui/plugin.xml b/sandbox/org.eclipse.papyrus.profile.facets.generation.acceleo.ui/plugin.xml
new file mode 100644
index 00000000000..8484023f649
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.profile.facets.generation.acceleo.ui/plugin.xml
@@ -0,0 +1,71 @@
+<?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">
+ <command
+ commandId="org.eclipse.papyrus.profile.facets.generation.acceleo.ui.generate.facets.from.profile"
+ icon="icons/profileToFacets.png"
+ label="Generate Facets From UML Profile"
+ mnemonic="G"
+ style="push"
+ tooltip="Generate the facets from the UML Profile">
+ <visibleWhen
+ checkEnabled="true">
+ </visibleWhen>
+ </command>
+ </menuContribution>
+ </extension>
+ <extension
+ point="org.eclipse.ui.commands">
+ <command
+ categoryId="org.eclipse.papyrus.editor.category"
+ description="Generate the facets from a UML profile"
+ id="org.eclipse.papyrus.profile.facets.generation.acceleo.ui.generate.facets.from.profile"
+ name="Generate Facets From UML Profile">
+ </command>
+ </extension>
+ <extension
+ point="org.eclipse.ui.handlers">
+ <handler
+ class="org.eclipse.papyrus.profile.facets.generation.acceleo.ui.handler.GenerateFacetsHandler"
+ commandId="org.eclipse.papyrus.profile.facets.generation.acceleo.ui.generate.facets.from.profile">
+ <activeWhen>
+ <with
+ variable="selection">
+ <test
+ forcePluginActivation="true"
+ property="org.eclipse.papyrus.profile.facets.generation.acceleo.ui.handler.propertyTester.isProfileToFacetsConfigurationFile"
+ value="true">
+ </test>
+ </with>
+ </activeWhen>
+ </handler>
+ </extension>
+ <extension
+ point="org.eclipse.core.expressions.propertyTesters">
+ <propertyTester
+ class="org.eclipse.papyrus.profile.facets.generation.acceleo.ui.handler.tester.HandlerPropertyTester"
+ id="org.eclipse.papyrus.profile.facets.generation.acceleo.ui.handler.propertyTester"
+ namespace="org.eclipse.papyrus.profile.facets.generation.acceleo.ui.handler.propertyTester"
+ properties="isProfileToFacetsConfigurationFile"
+ type="org.eclipse.jface.viewers.ISelection">
+ </propertyTester>
+ </extension>
+ <extension
+ point="org.eclipse.emf.facet.infra.facet.registration">
+ <facetset
+ file="org.eclipse.papyrus.profile.facets.generation.acceleo.ui.facetset2">
+ </facetset>
+ </extension>
+ <extension
+ point="org.eclipse.emf.facet.infra.query.registration">
+ <modelqueryset
+ file="src/org/eclipse/papyrus/profile/facets/generation/acceleo/ui/handler/GenerateFacetsHandler.java">
+ </modelqueryset>
+ </extension>
+
+</plugin>

Back to the top