Skip to main content
summaryrefslogblamecommitdiffstats
blob: 8484023f649108d042c37987c8b75fb0a7aa946b (plain) (tree)






































































                                                                                                                                                   
<?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