Skip to main content
summaryrefslogtreecommitdiffstats
blob: a1b654594c28faf38a6c4ec07b144027dbf1d8c8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
   <extension
         point="org.eclipse.ui.newWizards">
      <wizard
            category="org.eclipse.emf.refactor.newwizards.category"
            class="org.eclipse.emf.refactor.refactoring.henshin.ui.NewRefactoringWizardHenshin"
            icon="icons/refactoring.png"
            id="org.eclipse.emf.refactor.refactoring.newwizard"
            name="Refactoring (specified in Henshin)">
      </wizard>
   </extension>
   <extension
         id="org.eclipse.emf.refactor.qa.menu"
         point="org.eclipse.ui.menus">
      <menuContribution
            allPopups="true"
            locationURI="popup:org.eclipse.ui.popup.any?after=additions">
         <menu
               id="org.eclipse.emf.refactor.generator.menu"
               label="EMF Quality Assurance (define new techniques)">
            <command
                  commandId="org.eclipse.emf.refactor.refactoring.henshin.generateNewRefactoringHenshinCommand"
                  icon="icons/refactoring.png"
                  label="Generate New Refactoring (specified in Henshin)"
                  style="push">
               <visibleWhen
                     checkEnabled="true">
                  <iterate
                        ifEmpty="false">
                     <instanceof
                           value="org.eclipse.emf.ecore.EObject">
                     </instanceof>
                  </iterate>
               </visibleWhen>
            </command>
         </menu>
      </menuContribution>
   </extension>
   <extension
         point="org.eclipse.ui.commands">
      <command
            id="org.eclipse.emf.refactor.refactoring.henshin.generateNewRefactoringHenshinCommand"
            name="GenerateNewRefactoringHenshinCommand">
      </command>
   </extension>
   <extension
         point="org.eclipse.ui.handlers">
      <handler
            class="org.eclipse.emf.refactor.refactoring.henshin.handler.GenerateNewRefactoringHenshinCommandHandler"
            commandId="org.eclipse.emf.refactor.refactoring.henshin.generateNewRefactoringHenshinCommand">
      </handler>
   </extension>
</plugin>

Back to the top