Statistics
| Revision:

root / tmp / org.txm.ahc.rcp / plugin.xml @ 2212

History | View | Annotate | Download (4.9 kB)

1 685 sjacqu01
<?xml version="1.0" encoding="UTF-8"?>
2 685 sjacqu01
<?eclipse version="3.4"?>
3 2212 mdecorde
<plugin>
4 685 sjacqu01
   <extension
5 685 sjacqu01
         point="org.eclipse.ui.commands">
6 685 sjacqu01
      <command
7 685 sjacqu01
            categoryId="org.txm.rcp.category.txm"
8 685 sjacqu01
            defaultHandler="org.txm.ahc.rcp.handlers.ComputeAHC"
9 685 sjacqu01
            id="org.txm.cah.rcp.handlers.ComputeAHC"
10 737 sjacqu01
            name="%command.name"
11 737 sjacqu01
            returnTypeId="org.txm.ahc.core.functions.AHC">
12 685 sjacqu01
      </command>
13 685 sjacqu01
   </extension>
14 685 sjacqu01
   <extension
15 685 sjacqu01
         point="org.eclipse.ui.menus">
16 685 sjacqu01
      <menuContribution
17 685 sjacqu01
            allPopups="false"
18 685 sjacqu01
            locationURI="toolbar:org.txm.rcp.toolbartools?after=org.txm.ca.rcp.handlers.ComputeCA">
19 685 sjacqu01
         <command
20 685 sjacqu01
               commandId="org.txm.cah.rcp.handlers.ComputeAHC"
21 685 sjacqu01
               icon="icons/cah.png"
22 685 sjacqu01
               style="push"
23 685 sjacqu01
               tooltip="%command.tooltip">
24 685 sjacqu01
            <visibleWhen
25 685 sjacqu01
                  checkEnabled="false">
26 685 sjacqu01
               <or>
27 685 sjacqu01
                  <reference
28 685 sjacqu01
                        definitionId="OneCASelected">
29 685 sjacqu01
                  </reference>
30 685 sjacqu01
                  <reference
31 685 sjacqu01
                        definitionId="OneLexicalTableSelected">
32 685 sjacqu01
                  </reference>
33 685 sjacqu01
                  <reference
34 685 sjacqu01
                        definitionId="OnePartitionSelected">
35 685 sjacqu01
                  </reference>
36 1196 mdecorde
                  <reference
37 1196 mdecorde
                        definitionId="OnePartitionIndexSelected">
38 1196 mdecorde
                  </reference>
39 685 sjacqu01
               </or>
40 685 sjacqu01
            </visibleWhen>
41 685 sjacqu01
         </command>
42 685 sjacqu01
      </menuContribution>
43 685 sjacqu01
      <menuContribution
44 685 sjacqu01
            allPopups="false"
45 1196 mdecorde
            locationURI="popup:org.txm.rcp.views.corpora.CorporaView?after=org.txm.ca.rcp.handlers.ComputeCA">
46 685 sjacqu01
         <command
47 685 sjacqu01
               commandId="org.txm.cah.rcp.handlers.ComputeAHC"
48 685 sjacqu01
               icon="icons/cah.png"
49 1196 mdecorde
               style="push"
50 1196 mdecorde
               tooltip="%command.tooltip">
51 685 sjacqu01
            <visibleWhen
52 685 sjacqu01
                  checkEnabled="false">
53 685 sjacqu01
               <or>
54 685 sjacqu01
                  <reference
55 685 sjacqu01
                        definitionId="OneCASelected">
56 685 sjacqu01
                  </reference>
57 685 sjacqu01
                  <reference
58 685 sjacqu01
                        definitionId="OneLexicalTableSelected">
59 685 sjacqu01
                  </reference>
60 685 sjacqu01
                  <reference
61 685 sjacqu01
                        definitionId="OnePartitionSelected">
62 685 sjacqu01
                  </reference>
63 1196 mdecorde
                  <reference
64 1196 mdecorde
                        definitionId="OnePartitionIndexSelected">
65 1196 mdecorde
                  </reference>
66 685 sjacqu01
               </or>
67 685 sjacqu01
            </visibleWhen>
68 685 sjacqu01
         </command>
69 685 sjacqu01
      </menuContribution>
70 685 sjacqu01
      <menuContribution
71 1196 mdecorde
            locationURI="menu:menu.tools?after=org.txm.ca.rcp.handlers.ComputeCA">
72 685 sjacqu01
         <command
73 685 sjacqu01
               commandId="org.txm.cah.rcp.handlers.ComputeAHC"
74 685 sjacqu01
               icon="icons/cah.png"
75 1196 mdecorde
               style="push"
76 1196 mdecorde
               tooltip="%command.tooltip">
77 685 sjacqu01
            <visibleWhen
78 685 sjacqu01
                  checkEnabled="false">
79 685 sjacqu01
               <or>
80 685 sjacqu01
                  <reference
81 685 sjacqu01
                        definitionId="OneCASelected">
82 685 sjacqu01
                  </reference>
83 685 sjacqu01
                  <reference
84 685 sjacqu01
                        definitionId="OneLexicalTableSelected">
85 685 sjacqu01
                  </reference>
86 685 sjacqu01
                  <reference
87 685 sjacqu01
                        definitionId="OnePartitionSelected">
88 685 sjacqu01
                  </reference>
89 1196 mdecorde
                  <reference
90 1196 mdecorde
                        definitionId="OnePartitionIndexSelected">
91 1196 mdecorde
                  </reference>
92 685 sjacqu01
               </or>
93 685 sjacqu01
            </visibleWhen>
94 685 sjacqu01
         </command>
95 685 sjacqu01
      </menuContribution>
96 685 sjacqu01
   </extension>
97 685 sjacqu01
   <extension
98 685 sjacqu01
         point="org.eclipse.ui.editors">
99 685 sjacqu01
      <editor
100 1421 mdecorde
            class="org.txm.ahc.rcp.editors.AHCEditor"
101 685 sjacqu01
            default="false"
102 685 sjacqu01
            icon="icons/cah.png"
103 685 sjacqu01
            id="org.txm.ahc.core.functions.AHC"
104 685 sjacqu01
            name="%editor.name">
105 685 sjacqu01
      </editor>
106 685 sjacqu01
   </extension>
107 685 sjacqu01
   <extension
108 685 sjacqu01
         point="org.eclipse.core.runtime.adapters">
109 685 sjacqu01
      <factory
110 685 sjacqu01
            adaptableType="org.txm.ahc.core.functions.AHC"
111 685 sjacqu01
            class="org.txm.ahc.rcp.adapters.AHCAdapterFactory">
112 685 sjacqu01
         <adapter
113 685 sjacqu01
               type="org.eclipse.ui.model.IWorkbenchAdapter">
114 685 sjacqu01
         </adapter>
115 1005 sjacqu01
         <adapter
116 1005 sjacqu01
               type="org.eclipse.ui.model.IWorkbenchAdapter2">
117 1005 sjacqu01
         </adapter>
118 685 sjacqu01
      </factory>
119 685 sjacqu01
   </extension>
120 685 sjacqu01
   <extension
121 685 sjacqu01
         point="org.eclipse.ui.preferencePages">
122 685 sjacqu01
      <page
123 685 sjacqu01
            category="org.txm.rcp.preferences.UserPreferencePage"
124 685 sjacqu01
            class="org.txm.ahc.rcp.preferences.AHCPreferencePage"
125 685 sjacqu01
            id="org.txm.cah.rcp.preferences.CAHPreferencePage"
126 685 sjacqu01
            name="%page.name">
127 685 sjacqu01
      </page>
128 685 sjacqu01
   </extension>
129 685 sjacqu01
   <extension
130 685 sjacqu01
         point="org.eclipse.core.expressions.definitions">
131 685 sjacqu01
      <definition
132 685 sjacqu01
            id="OneCAHSelected">
133 685 sjacqu01
         <with
134 685 sjacqu01
               variable="selection">
135 685 sjacqu01
            <iterate
136 685 sjacqu01
                  ifEmpty="false"
137 685 sjacqu01
                  operator="and">
138 685 sjacqu01
               <instanceof
139 723 sjacqu01
                     value="org.txm.ahc.core.functions.AHC">
140 685 sjacqu01
               </instanceof>
141 685 sjacqu01
            </iterate>
142 685 sjacqu01
         </with>
143 685 sjacqu01
      </definition>
144 685 sjacqu01
   </extension>
145 685 sjacqu01
146 685 sjacqu01
</plugin>