root / tmp / org.txm.ca.rcp / plugin.xml @ 1196
History | View | Annotate | Download (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.specificities.rcp.handlers.ComputeSpecifities"> |
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 |
<reference
|
33 |
definitionId="OnePartitionIndexSelected"> |
34 |
</reference>
|
35 |
</or>
|
36 |
</visibleWhen>
|
37 |
</command>
|
38 |
</menuContribution>
|
39 |
<menuContribution
|
40 |
allPopups="false" |
41 |
locationURI="popup:org.txm.rcp.views.corpora.CorporaView?after=org.txm.specificities.rcp.handlers.ComputeSpecifities"> |
42 |
<command
|
43 |
commandId="org.txm.ca.rcp.handlers.ComputeCA" |
44 |
icon="icons/ca.png" |
45 |
style="push"> |
46 |
<visibleWhen
|
47 |
checkEnabled="false"> |
48 |
<or>
|
49 |
<reference
|
50 |
definitionId="OnePartitionSelected"> |
51 |
</reference>
|
52 |
<reference
|
53 |
definitionId="OneLexicalTableSelected"> |
54 |
</reference>
|
55 |
<reference
|
56 |
definitionId="OneICAComputableSelected"> |
57 |
</reference>
|
58 |
<reference
|
59 |
definitionId="OnePartitionIndexSelected"> |
60 |
</reference>
|
61 |
</or>
|
62 |
</visibleWhen>
|
63 |
</command>
|
64 |
</menuContribution>
|
65 |
<menuContribution
|
66 |
locationURI="menu:menu.tools?after=org.txm.specificities.rcp.handlers.ComputeSpecifities"> |
67 |
<command
|
68 |
commandId="org.txm.ca.rcp.handlers.ComputeCA" |
69 |
icon="icons/ca.png" |
70 |
style="push"> |
71 |
<visibleWhen
|
72 |
checkEnabled="false"> |
73 |
<or>
|
74 |
<reference
|
75 |
definitionId="OnePartitionSelected"> |
76 |
</reference>
|
77 |
<reference
|
78 |
definitionId="OneLexicalTableSelected"> |
79 |
</reference>
|
80 |
<reference
|
81 |
definitionId="OneICAComputableSelected"> |
82 |
</reference>
|
83 |
<reference
|
84 |
definitionId="OnePartitionIndexSelected"> |
85 |
</reference>
|
86 |
</or>
|
87 |
</visibleWhen>
|
88 |
</command>
|
89 |
</menuContribution>
|
90 |
</extension>
|
91 |
<extension
|
92 |
point="org.eclipse.ui.commands"> |
93 |
<command
|
94 |
categoryId="org.txm.rcp.category.txm" |
95 |
defaultHandler="org.txm.ca.rcp.handlers.ComputeCA" |
96 |
id="org.txm.ca.rcp.handlers.ComputeCA" |
97 |
name="%command.name" |
98 |
returnTypeId="org.txm.ca.core.functions.CA"> |
99 |
</command>
|
100 |
</extension>
|
101 |
<extension
|
102 |
point="org.eclipse.ui.editors"> |
103 |
<editor
|
104 |
class="org.txm.ca.rcp.editors.CAEditor" |
105 |
default="false" |
106 |
icon="icons/ca.png" |
107 |
id="org.txm.ca.rcp.editors.CAEditor" |
108 |
name="%editor.name"> |
109 |
</editor>
|
110 |
<editor
|
111 |
class="org.txm.ca.rcp.editors.CAFactorialMapChartEditor" |
112 |
default="false" |
113 |
icon="icons/ca.png" |
114 |
id="org.txm.ca.rcp.editors.CAFactorialMapChartEditor" |
115 |
name="%editor.name.0"> |
116 |
</editor>
|
117 |
<editor
|
118 |
class="org.txm.ca.rcp.editors.EigenvaluesChartEditor" |
119 |
default="false" |
120 |
id="org.txm.ca.rcp.editors.EigenvaluesChartEditor" |
121 |
name="%editor.name.1"> |
122 |
</editor>
|
123 |
</extension>
|
124 |
<extension
|
125 |
point="org.eclipse.core.runtime.adapters"> |
126 |
<factory
|
127 |
adaptableType="org.txm.ca.core.functions.CA" |
128 |
class="org.txm.ca.rcp.adapters.CAAdapterFactory"> |
129 |
<adapter
|
130 |
type="org.eclipse.ui.model.IWorkbenchAdapter"> |
131 |
</adapter>
|
132 |
<adapter
|
133 |
type="org.eclipse.ui.model.IWorkbenchAdapter2"> |
134 |
</adapter>
|
135 |
</factory>
|
136 |
</extension>
|
137 |
<extension
|
138 |
point="org.eclipse.ui.preferencePages"> |
139 |
<page
|
140 |
category="org.txm.rcp.preferences.UserPreferencePage" |
141 |
class="org.txm.ca.rcp.preferences.CAPreferencePage" |
142 |
id="org.txm.ca.rcp.preferences.CAPreferencePage" |
143 |
name="%page.name"> |
144 |
</page>
|
145 |
</extension>
|
146 |
<extension
|
147 |
point="org.eclipse.core.expressions.definitions"> |
148 |
<definition
|
149 |
id="OneICAComputableSelected"> |
150 |
<with
|
151 |
variable="selection"> |
152 |
<iterate
|
153 |
ifEmpty="false" |
154 |
operator="and"> |
155 |
<instanceof
|
156 |
value="org.txm.ca.core.functions.ICAComputable"> |
157 |
</instanceof>
|
158 |
</iterate>
|
159 |
</with>
|
160 |
</definition>
|
161 |
<definition
|
162 |
id="OneCASelected"> |
163 |
<with
|
164 |
variable="selection"> |
165 |
<iterate
|
166 |
ifEmpty="false" |
167 |
operator="and"> |
168 |
<instanceof
|
169 |
value="org.txm.ca.core.functions.CA"> |
170 |
</instanceof>
|
171 |
</iterate>
|
172 |
</with>
|
173 |
</definition>
|
174 |
</extension>
|
175 |
|
176 |
</plugin>
|