Statistics
| Revision:

root / tmp / org.txm.ca.rcp / plugin.xml @ 1150

History | View | Annotate | Download (5.6 kB)

1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.4"?>
3
<plugin>
4
   <extension
5
         point="org.txm.chartsengine.eventcallback">
6
      <EventCallBack
7
            class="org.txm.ca.rcp.chartsengine.events.CAPointSelectionCallBack"
8
            resultDataClass="org.txm.ca.core.functions.CA">
9
      </EventCallBack>
10
   </extension>
11
   <extension
12
         point="org.eclipse.ui.menus">
13
      <menuContribution
14
            allPopups="false"
15
            locationURI="toolbar:org.txm.rcp.toolbartools?after=org.txm.index.rcp.handlers.ComputePartitionIndex">
16
         <command
17
               commandId="org.txm.ca.rcp.handlers.ComputeCA"
18
               icon="icons/ca.png"
19
               style="push">
20
            <visibleWhen
21
                  checkEnabled="false">
22
               <or>
23
                  <reference
24
                        definitionId="OnePartitionSelected">
25
                  </reference>
26
                  <reference
27
                        definitionId="OneLexicalTableSelected">
28
                  </reference>
29
                  <reference
30
                        definitionId="OneICAComputableSelected">
31
                  </reference>
32
               </or>
33
            </visibleWhen>
34
         </command>
35
      </menuContribution>
36
      <menuContribution
37
            allPopups="false"
38
            locationURI="popup:org.txm.rcp.views.corpora.CorporaView?after=org.txm.rcp.corporaview.tools.stat">
39
         <command
40
               commandId="org.txm.ca.rcp.handlers.ComputeCA"
41
               icon="icons/ca.png"
42
               style="push">
43
            <visibleWhen
44
                  checkEnabled="false">
45
               <or>
46
                  <reference
47
                        definitionId="OnePartitionSelected">
48
                  </reference>
49
                  <reference
50
                        definitionId="OneLexicalTableSelected">
51
                  </reference>
52
                  <reference
53
                        definitionId="OneICAComputableSelected">
54
                  </reference>
55
               </or>
56
            </visibleWhen>
57
         </command>
58
      </menuContribution>
59
      <menuContribution
60
            locationURI="menu:menu.tools?after=org.txm.specificities.rcp.handlers.ComputeSpecifities">
61
         <command
62
               commandId="org.txm.ca.rcp.handlers.ComputeCA"
63
               icon="icons/ca.png"
64
               style="push">
65
            <visibleWhen
66
                  checkEnabled="false">
67
               <or>
68
                  <reference
69
                        definitionId="OnePartitionSelected">
70
                  </reference>
71
                  <reference
72
                        definitionId="OneLexicalTableSelected">
73
                  </reference>
74
                  <reference
75
                        definitionId="OneICAComputableSelected">
76
                  </reference>
77
               </or>
78
            </visibleWhen>
79
         </command>
80
      </menuContribution>
81
   </extension>
82
   <extension
83
         point="org.eclipse.ui.commands">
84
      <command
85
            categoryId="org.txm.rcp.category.txm"
86
            defaultHandler="org.txm.ca.rcp.handlers.ComputeCA"
87
            id="org.txm.ca.rcp.handlers.ComputeCA"
88
            name="%command.name"
89
            returnTypeId="org.txm.ca.core.functions.CA">
90
      </command>
91
   </extension>
92
   <extension
93
         point="org.eclipse.ui.editors">
94
      <editor
95
            class="org.txm.ca.rcp.editors.CAEditor"
96
            default="false"
97
            icon="icons/ca.png"
98
            id="org.txm.ca.rcp.editors.CAEditor"
99
            name="%editor.name">
100
      </editor>
101
      <editor
102
            class="org.txm.ca.rcp.editors.CAFactorialMapChartEditor"
103
            default="false"
104
            icon="icons/ca.png"
105
            id="org.txm.ca.rcp.editors.CAFactorialMapChartEditor"
106
            name="%editor.name.0">
107
      </editor>
108
      <editor
109
            class="org.txm.ca.rcp.editors.EigenvaluesChartEditor"
110
            default="false"
111
            id="org.txm.ca.rcp.editors.EigenvaluesChartEditor"
112
            name="%editor.name.1">
113
      </editor>
114
   </extension>
115
   <extension
116
         point="org.eclipse.core.runtime.adapters">
117
      <factory
118
            adaptableType="org.txm.ca.core.functions.CA"
119
            class="org.txm.ca.rcp.adapters.CAAdapterFactory">
120
         <adapter
121
               type="org.eclipse.ui.model.IWorkbenchAdapter">
122
         </adapter>
123
         <adapter
124
               type="org.eclipse.ui.model.IWorkbenchAdapter2">
125
         </adapter>
126
      </factory>
127
   </extension>
128
   <extension
129
         point="org.eclipse.ui.preferencePages">
130
      <page
131
            category="org.txm.rcp.preferences.UserPreferencePage"
132
            class="org.txm.ca.rcp.preferences.CAPreferencePage"
133
            id="org.txm.ca.rcp.preferences.CAPreferencePage"
134
            name="%page.name">
135
      </page>
136
   </extension>
137
   <extension
138
         point="org.eclipse.core.expressions.definitions">
139
      <definition
140
            id="OneICAComputableSelected">
141
         <with
142
               variable="selection">
143
            <iterate
144
                  ifEmpty="false"
145
                  operator="and">
146
               <instanceof
147
                     value="org.txm.ca.core.functions.ICAComputable">
148
               </instanceof>
149
            </iterate>
150
         </with>
151
      </definition>
152
      <definition
153
            id="OneCASelected">
154
         <with
155
               variable="selection">
156
            <iterate
157
                  ifEmpty="false"
158
                  operator="and">
159
               <instanceof
160
                     value="org.txm.ca.core.functions.CA">
161
               </instanceof>
162
            </iterate>
163
         </with>
164
      </definition>
165
   </extension>
166

    
167
</plugin>