]> git.argeo.org Git - gpl/argeo-slc.git/blob - plugins/org.argeo.slc.client.ui/plugin.xml
Implement remote browsing
[gpl/argeo-slc.git] / plugins / org.argeo.slc.client.ui / 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 <command
94 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
95 id="org.argeo.slc.client.ui.runSlc/Flow"
96 name="org.argeo.slc.demo.minimal:hello">
97 </command>
98 -->
99 <!-- Result List
100 <command
101 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
102 id="org.argeo.slc.client.ui.refreshResultList"
103 name="Refresh Result List">
104 </command>
105 <command
106 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
107 id="org.argeo.slc.client.ui.removeSelectedResultFromResultList"
108 name="Remove selected results from list">
109 </command>
110 <command
111 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
112 id="org.argeo.slc.client.ui.displayResultDetails"
113 name="Display Result Details">
114 </command>
115 -->
116 <!-- Execution Modules
117 <command
118 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
119 id="org.argeo.slc.client.ui.refreshExecutionModulesView"
120 name="Refresh Execution Modules View">
121 </command>
122 -->
123 <!-- Batch
124 <command
125 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
126 id="org.argeo.slc.client.ui.launchBatch"
127 name="Launch Batch">
128 </command>
129 <command
130 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
131 id="org.argeo.slc.client.ui.removeSelectedFromBatch"
132 name="Remove Selected From Batch">
133 </command>
134 <command
135 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
136 id="org.argeo.slc.client.ui.clearBatch"
137 name="Clear Batch">
138 </command>
139 -->
140 <!-- Process List
141 <command
142 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
143 id="org.argeo.slc.client.ui.refreshProcessList"
144 name="Refresh Process List ">
145 </command>
146 <command
147 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
148 id="org.argeo.slc.client.ui.displayProcessDetails"
149 name="DisplayProcessDetails">
150 <commandParameter
151 id="org.argeo.slc.client.commands.processUuid"
152 name="Process UUID">
153 </commandParameter>
154 </command>
155 <command
156 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
157 id="org.argeo.slc.client.ui.manageBundles"
158 name="Manage Bundles">
159 </command>
160 -->
161 </extension>
162
163 <!-- Menu definitions -->
164 <extension
165 id="menu:org.eclipse.ui.main.menu"
166 point="org.eclipse.ui.menus">
167 <menuContribution
168 locationURI="toolbar:org.argeo.slc.client.ui.jcrExecutionModulesView">
169 <command
170 commandId="org.argeo.slc.client.ui.updateModule"
171 icon="icons/refresh.png"
172 label="Update module"
173 tooltip="Update module">
174 </command>
175 <!--
176 <command
177 commandId="org.argeo.slc.client.ui.runSlc/Flow"
178 icon="icons/launch.gif"
179 label="Run SLC Flow"
180 tooltip="Run SLC Flow">
181 </command>
182 -->
183 </menuContribution>
184 <!--
185 <menuContribution
186 locationURI="menu:fileMenu">
187 </menuContribution>
188 <menuContribution
189 locationURI="toolbar:org.argeo.slc.client.ui.resultListView">
190 <command
191 commandId="org.argeo.slc.client.ui.refreshResultList"
192 icon="icons/refresh.png"
193 label="Refresh result list"
194 tooltip="Refresh the result list">
195 </command>
196 <command
197 commandId="org.argeo.slc.client.ui.removeSelectedResultFromResultList"
198 icon="icons/removeAll.png"
199 label="Remove selected"
200 tooltip="Remove selected items from the result list (Also on server side, cannot be undone)">
201 </command>
202 </menuContribution>
203 <menuContribution
204 locationURI="toolbar:org.argeo.slc.client.ui.executionModulesView">
205 <command
206 commandId="org.argeo.slc.client.ui.refreshExecutionModulesView"
207 icon="icons/refresh.png"
208 label="Refresh execution modules"
209 tooltip="Refresh the execution modules view.">
210 </command>
211 </menuContribution>
212 <menuContribution
213 locationURI="toolbar:org.argeo.slc.client.ui.processBuilderView">
214 <command
215 commandId="org.argeo.slc.client.ui.launchBatch"
216 icon="icons/launch.gif"
217 label="Launch Batch"
218 tooltip="Launch the batch built in the process builder view.">
219 </command>
220 <command
221 commandId="org.argeo.slc.client.ui.clearBatch"
222 label="Clear Batch"
223 icon="icons/clear_batch.gif"
224 tooltip="Clear the batch built in the process builder view.">
225 </command>
226 <command
227 commandId="org.argeo.slc.client.ui.removeSelectedFromBatch"
228 icon="icons/remove_one.gif"
229 label="Remove Selected From Batch"
230 tooltip="Remove selected process from process builder view.">
231 </command>
232 </menuContribution>
233 -->
234 </extension>
235 <extension
236 point="org.eclipse.ui.perspectives">
237 <perspective
238 class="org.argeo.slc.client.ui.SlcExecutionPerspective"
239 icon="icons/slc_execution_perspective.gif"
240 id="org.argeo.slc.client.ui.slcExecutionPerspective"
241 name="SLC Execution">
242 </perspective>
243 </extension>
244 <extension
245 point="org.eclipse.ui.editors">
246 <editor
247 class="org.argeo.eclipse.spring.SpringExtensionFactory"
248 default="false"
249 icon="icons/batch.gif"
250 id="org.argeo.slc.client.ui.processEditor"
251 name="Process">
252 </editor>
253 </extension>
254 <extension
255 point="org.eclipse.ui.elementFactories">
256 <factory
257 class="org.argeo.slc.client.ui.editors.ProcessEditorInputFactory"
258 id="org.argeo.slc.client.ui.processEditorInputFactory">
259 </factory>
260 </extension>
261 <extension
262 point="org.eclipse.ui.activities">
263 </extension>
264 <extension
265 point="org.eclipse.ui.activities">
266 <activity
267 description="SLC users"
268 id="org.argeo.slc.client.ui.slcActivity"
269 name="SLC">
270 <enabledWhen>
271 <with variable="roles">
272 <iterate ifEmpty="false" operator="or">
273 <equals value="ROLE_SLC" />
274 </iterate>
275 </with>
276 </enabledWhen>
277 </activity>
278 <!-- TODO: find a way to exclude evrything -->
279 <activityPatternBinding
280 activityId="org.argeo.slc.client.ui.slcActivity"
281 isEqualityPattern="true"
282 pattern="org.argeo.slc.client.ui/org.argeo.slc.client.ui.slcExecutionPerspective">
283 </activityPatternBinding>
284 <activityPatternBinding
285 activityId="org.argeo.security.ui.adminActivity"
286 isEqualityPattern="true"
287 pattern="org.argeo.slc.client.ui/org.argeo.slc.client.ui.slcExecutionPerspective">
288 </activityPatternBinding>
289 </extension>
290 </plugin>