Statistics
| Revision:

root / tmp / org.txm.cah.rcp / plugin.xml @ 633

History | View | Annotate | Download (4.2 kB)

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