]> git.argeo.org Git - gpl/argeo-slc.git/blob - plugin.xml
7ee6be7aa41855ae264997c78cf51521d998c786
[gpl/argeo-slc.git] / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.4"?>
3 <plugin>
4
5 <!-- Views -->
6 <extension
7 point="org.eclipse.ui.views">
8 <view
9 id="org.argeo.slc.client.ui.jcrExecutionModulesView"
10 class="org.argeo.eclipse.spring.SpringExtensionFactory"
11 icon="icons/execution_module.gif"
12 name="Execution"
13 restorable="true">
14 </view>
15 <view
16 id="org.argeo.slc.client.ui.jcrResultListView"
17 class="org.argeo.eclipse.spring.SpringExtensionFactory"
18 icon="icons/results.gif"
19 name="Results"
20 restorable="true">
21 </view>
22 <view
23 id="org.argeo.slc.client.ui.jcrProcessListView"
24 class="org.argeo.eclipse.spring.SpringExtensionFactory"
25 name="Processes"
26 icon="icons/processes.gif"
27 restorable="true">
28 </view>
29 <!--
30 <view
31 id="org.argeo.slc.client.ui.executionModulesView"
32 class="org.argeo.eclipse.spring.SpringExtensionFactory"
33 icon="icons/execution_module.gif"
34 name="Execution Modules"
35 restorable="true">
36 </view>
37 <view
38 class="org.argeo.eclipse.spring.SpringExtensionFactory"
39 icon="icons/results.gif"
40 id="org.argeo.slc.client.ui.resultListView"
41 name="Results"
42 restorable="true">
43 </view>
44 <view
45 allowMultiple="true"
46 class="org.argeo.eclipse.spring.SpringExtensionFactory"
47 icon="icons/result_details.gif"
48 id="org.argeo.slc.client.ui.resultDetailView"
49 name="Result details"
50 restorable="true">
51 </view>
52 <view
53 id="org.argeo.slc.client.ui.processListView"
54 class="org.argeo.eclipse.spring.SpringExtensionFactory"
55 name="Processes"
56 icon="icons/processes.gif"
57 restorable="true">
58 </view>
59 <view
60 allowMultiple="true"
61 class="org.argeo.eclipse.spring.SpringExtensionFactory"
62 icon="icons/process_details.gif"
63 id="org.argeo.slc.client.ui.processDetailView"
64 name="Process details"
65 restorable="true">
66 </view>
67 <view
68 class="org.argeo.eclipse.spring.SpringExtensionFactory"
69 icon="icons/edit_parameters.gif"
70 id="org.argeo.slc.client.ui.processParametersView"
71 name="Process Parameters"
72 restorable="true">
73 </view>
74 <view
75 class="org.argeo.eclipse.spring.SpringExtensionFactory"
76 icon="icons/batch.gif"
77 id="org.argeo.slc.client.ui.processBuilderView"
78 name="Batch"
79 restorable="true">
80 </view>
81 -->
82 </extension>
83
84 <!-- Commands definitions -->
85 <extension
86 point="org.eclipse.ui.commands">
87 <command
88 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
89 id="org.argeo.slc.client.ui.updateModule"
90 name="Update Module">
91 </command>
92
93 <!-- Commands that do not need dependency injection -->
94 <command
95 defaultHandler="org.argeo.slc.client.ui.commands.AddResultFolder"
96 id="org.argeo.slc.client.ui.addResultFolder"
97 name="Add result folder">
98 </command>
99 <command
100 defaultHandler="org.argeo.slc.client.ui.commands.RefreshJcrResultTreeView"
101 id="org.argeo.slc.client.ui.refreshJcrResultTreeView"
102 name="Refresh">
103 <commandParameter
104 id="org.argeo.slc.client.ui.param.refreshType"
105 name="Refresh type">
106 </commandParameter>
107 </command>
108 <!--
109 <command
110 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
111 id="org.argeo.slc.client.ui.runSlc/Flow"
112 name="org.argeo.slc.demo.minimal:hello">
113 </command>
114 -->
115 <!-- Result List
116 <command
117 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
118 id="org.argeo.slc.client.ui.refreshResultList"
119 name="Refresh Result List">
120 </command>
121 <command
122 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
123 id="org.argeo.slc.client.ui.removeSelectedResultFromResultList"
124 name="Remove selected results from list">
125 </command>
126 <command
127 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
128 id="org.argeo.slc.client.ui.displayResultDetails"
129 name="Display Result Details">
130 </command>
131 -->
132 <!-- Execution Modules
133 <command
134 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
135 id="org.argeo.slc.client.ui.refreshExecutionModulesView"
136 name="Refresh Execution Modules View">
137 </command>
138 -->
139 <!-- Batch
140 <command
141 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
142 id="org.argeo.slc.client.ui.launchBatch"
143 name="Launch Batch">
144 </command>
145 <command
146 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
147 id="org.argeo.slc.client.ui.removeSelectedFromBatch"
148 name="Remove Selected From Batch">
149 </command>
150 <command
151 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
152 id="org.argeo.slc.client.ui.clearBatch"
153 name="Clear Batch">
154 </command>
155 -->
156 <!-- Process List
157 <command
158 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
159 id="org.argeo.slc.client.ui.refreshProcessList"
160 name="Refresh Process List ">
161 </command>
162 <command
163 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
164 id="org.argeo.slc.client.ui.displayProcessDetails"
165 name="DisplayProcessDetails">
166 <commandParameter
167 id="org.argeo.slc.client.commands.processUuid"
168 name="Process UUID">
169 </commandParameter>
170 </command>
171 <command
172 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
173 id="org.argeo.slc.client.ui.manageBundles"
174 name="Manage Bundles">
175 </command>
176 -->
177 </extension>
178
179 <!-- Menu definitions -->
180 <extension
181 id="menu:org.eclipse.ui.main.menu"
182 point="org.eclipse.ui.menus">
183 <menuContribution
184 locationURI="toolbar:org.argeo.slc.client.ui.jcrExecutionModulesView">
185 <command
186 commandId="org.argeo.slc.client.ui.updateModule"
187 icon="icons/refresh.png"
188 label="Update module"
189 tooltip="Update module">
190 </command>
191 <!--
192 <command
193 commandId="org.argeo.slc.client.ui.runSlc/Flow"
194 icon="icons/launch.gif"
195 label="Run SLC Flow"
196 tooltip="Run SLC Flow">
197 </command>
198 -->
199 </menuContribution>
200 <!--
201 <menuContribution
202 locationURI="menu:fileMenu">
203 </menuContribution>
204 <menuContribution
205 locationURI="toolbar:org.argeo.slc.client.ui.resultListView">
206 <command
207 commandId="org.argeo.slc.client.ui.refreshResultList"
208 icon="icons/refresh.png"
209 label="Refresh result list"
210 tooltip="Refresh the result list">
211 </command>
212 <command
213 commandId="org.argeo.slc.client.ui.removeSelectedResultFromResultList"
214 icon="icons/removeAll.png"
215 label="Remove selected"
216 tooltip="Remove selected items from the result list (Also on server side, cannot be undone)">
217 </command>
218 </menuContribution>
219 <menuContribution
220 locationURI="toolbar:org.argeo.slc.client.ui.executionModulesView">
221 <command
222 commandId="org.argeo.slc.client.ui.refreshExecutionModulesView"
223 icon="icons/refresh.png"
224 label="Refresh execution modules"
225 tooltip="Refresh the execution modules view.">
226 </command>
227 </menuContribution>
228 <menuContribution
229 locationURI="toolbar:org.argeo.slc.client.ui.processBuilderView">
230 <command
231 commandId="org.argeo.slc.client.ui.launchBatch"
232 icon="icons/launch.gif"
233 label="Launch Batch"
234 tooltip="Launch the batch built in the process builder view.">
235 </command>
236 <command
237 commandId="org.argeo.slc.client.ui.clearBatch"
238 label="Clear Batch"
239 icon="icons/clear_batch.gif"
240 tooltip="Clear the batch built in the process builder view.">
241 </command>
242 <command
243 commandId="org.argeo.slc.client.ui.removeSelectedFromBatch"
244 icon="icons/remove_one.gif"
245 label="Remove Selected From Batch"
246 tooltip="Remove selected process from process builder view.">
247 </command>
248 </menuContribution>
249 -->
250 </extension>
251 <extension
252 point="org.eclipse.ui.perspectives">
253 <perspective
254 class="org.argeo.slc.client.ui.SlcExecutionPerspective"
255 icon="icons/slc_execution_perspective.gif"
256 id="org.argeo.slc.client.ui.slcExecutionPerspective"
257 name="SLC Execution">
258 </perspective>
259 </extension>
260 <extension
261 point="org.eclipse.ui.editors">
262 <editor
263 class="org.argeo.eclipse.spring.SpringExtensionFactory"
264 default="false"
265 icon="icons/batch.gif"
266 id="org.argeo.slc.client.ui.processEditor"
267 name="Process">
268 </editor>
269 </extension>
270 <extension
271 point="org.eclipse.ui.elementFactories">
272 <factory
273 class="org.argeo.slc.client.ui.editors.ProcessEditorInputFactory"
274 id="org.argeo.slc.client.ui.processEditorInputFactory">
275 </factory>
276 </extension>
277 <extension
278 point="org.eclipse.ui.activities">
279 </extension>
280 <extension
281 point="org.eclipse.ui.activities">
282 <activity
283 description="SLC users"
284 id="org.argeo.slc.client.ui.slcActivity"
285 name="SLC">
286 <enabledWhen>
287 <with variable="roles">
288 <iterate ifEmpty="false" operator="or">
289 <equals value="ROLE_SLC" />
290 </iterate>
291 </with>
292 </enabledWhen>
293 </activity>
294 <!-- TODO: find a way to exclude evrything -->
295 <activityPatternBinding
296 activityId="org.argeo.slc.client.ui.slcActivity"
297 isEqualityPattern="true"
298 pattern="org.argeo.slc.client.ui/org.argeo.slc.client.ui.slcExecutionPerspective">
299 </activityPatternBinding>
300 <activityPatternBinding
301 activityId="org.argeo.security.ui.adminActivity"
302 isEqualityPattern="true"
303 pattern="org.argeo.slc.client.ui/org.argeo.slc.client.ui.slcExecutionPerspective">
304 </activityPatternBinding>
305 </extension>
306 </plugin>