Statistics
| Revision:

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

History | View | Annotate | Download (4.3 kB)

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