Statistics
| Revision:

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

History | View | Annotate | Download (5.3 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">
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">
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">
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
      </command>
90
   </extension>
91
   <extension
92
         point="org.eclipse.ui.editors">
93
      <editor
94
            class="org.txm.ca.rcp.editors.CAEditor"
95
            default="false"
96
            icon="icons/ca.png"
97
            id="org.txm.ca.rcp.editors.CAEditor"
98
            name="%editor.name">
99
      </editor>
100
      <editor
101
            class="org.txm.ca.rcp.editors.CAFactorialMapChartEditor"
102
            default="false"
103
            icon="icons/ca.png"
104
            id="org.txm.ca.rcp.editors.CAFactorialMapChartEditor"
105
            name="CA Factorial Map editor">
106
      </editor>
107
      <editor
108
            class="org.txm.ca.rcp.editors.EigenvaluesChartEditor"
109
            default="false"
110
            id="org.txm.ca.rcp.editors.EigenvaluesChartEditor"
111
            name="Eigenvalues">
112
      </editor>
113
   </extension>
114
   <extension
115
         point="org.eclipse.core.runtime.adapters">
116
      <factory
117
            adaptableType="org.txm.ca.core.functions.CA"
118
            class="org.txm.ca.rcp.adapters.CAAdapterFactory">
119
         <adapter
120
               type="org.eclipse.ui.model.IWorkbenchAdapter">
121
         </adapter>
122
      </factory>
123
   </extension>
124
   <extension
125
         point="org.eclipse.ui.preferencePages">
126
      <page
127
            category="org.txm.rcp.preferences.UserPreferencePage"
128
            class="org.txm.ca.rcp.preferences.CAPreferencePage"
129
            id="org.txm.ca.rcp.preferences.CAPreferencePage"
130
            name="%page.name">
131
      </page>
132
   </extension>
133
   <extension
134
         point="org.eclipse.core.expressions.definitions">
135
      <definition
136
            id="OneICAComputableSelected">
137
         <with
138
               variable="selection">
139
            <iterate
140
                  ifEmpty="false"
141
                  operator="and">
142
               <instanceof
143
                     value="org.txm.ca.core.functions.ICAComputable">
144
               </instanceof>
145
            </iterate>
146
         </with>
147
      </definition>
148
      <definition
149
            id="OneCASelected">
150
         <with
151
               variable="selection">
152
            <iterate
153
                  ifEmpty="false"
154
                  operator="and">
155
               <instanceof
156
                     value="org.txm.ca.core.functions.CA">
157
               </instanceof>
158
            </iterate>
159
         </with>
160
      </definition>
161
   </extension>
162

    
163
</plugin>