Statistics
| Revision:

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

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