]> git.argeo.org Git - gpl/argeo-slc.git/blob - org.argeo.slc.client.ui.dist/plugin.xml
Prepare next development cycle
[gpl/argeo-slc.git] / org.argeo.slc.client.ui.dist / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.4"?>
3 <plugin>
4 <!-- PERSPECTIVES -->
5 <extension
6 point="org.eclipse.ui.perspectives">
7 <perspective
8 name="SLC Factory"
9 class="org.argeo.slc.client.ui.dist.DistributionPerspective"
10 id="org.argeo.slc.client.ui.dist.distributionPerspective"
11 icon="icons/distribution_perspective.gif">
12 </perspective>
13 <perspective
14 name="SLC Distribution"
15 class="org.argeo.slc.client.ui.dist.AnonymousDistributionPerspective"
16 id="org.argeo.slc.client.ui.dist.anonymousDistributionPerspective"
17 icon="icons/repo.gif">
18 </perspective>
19 </extension>
20 <!-- VIEWS -->
21 <extension
22 point="org.eclipse.ui.views">
23 <view
24 class="org.argeo.eclipse.spring.SpringExtensionFactory"
25 id="org.argeo.slc.client.ui.dist.distributionsView"
26 icon="icons/search.gif"
27 name="Distributions">
28 </view>
29 <view
30 class="org.argeo.eclipse.spring.SpringExtensionFactory"
31 id="org.argeo.slc.client.ui.dist.anonymousDistributionsView"
32 icon="icons/search.gif"
33 name="Public Repository">
34 </view>
35 <view
36 class="org.argeo.slc.client.ui.dist.views.HelpView"
37 id="org.argeo.slc.client.ui.dist.helpView"
38 icon="icons/help.gif"
39 name="About">
40 </view>
41 <!--
42 <view
43 class="org.argeo.eclipse.spring.SpringExtensionFactory"
44 id="org.argeo.slc.client.ui.dist.artifactsBrowser"
45 icon="icons/packageBrowser.gif"
46 name="Artifacts browser">
47 </view>
48 <view
49 class="org.argeo.eclipse.spring.SpringExtensionFactory"
50 id="org.argeo.slc.client.ui.dist.queryArtifactsForm"
51 icon="icons/searchForm.gif"
52 name="Artifacts Form">
53 </view>
54 <view
55 class="org.argeo.eclipse.spring.SpringExtensionFactory"
56 id="org.argeo.slc.client.ui.dist.queryBundlesForm"
57 icon="icons/searchForm.gif"
58 name="Bundles Form">
59 </view>
60 <view
61 class="org.argeo.eclipse.spring.SpringExtensionFactory"
62 id="org.argeo.slc.client.ui.dist.queryArtifactsText"
63 icon="icons/search.gif"
64 name="Query builder">
65 </view>
66 -->
67 <view
68 name="Progress View"
69 icon="icons/pview.gif"
70 category="org.eclipse.ui"
71 class="org.eclipse.ui.ExtensionFactory:progressView"
72 id="org.eclipse.ui.views.ProgressView">
73 </view>
74 </extension>
75 <!-- EDITORS -->
76 <extension
77 point="org.eclipse.ui.editors">
78 <!-- <editor
79 class="org.argeo.slc.client.ui.dist.editors.GenericBundleEditor"
80 id="org.argeo.slc.client.ui.dist.genericBundleEditor"
81 name="Bundle editor"
82 icon="icons/artifactVersionBase.gif"
83 default="false">
84 </editor> -->
85 <editor
86 class="org.argeo.eclipse.spring.SpringExtensionFactory"
87 id="org.argeo.slc.client.ui.dist.artifactVersionEditor"
88 name="Artifact Version Editor"
89 icon="icons/artifactVersionBase.gif"
90 default="false">
91 </editor>
92 <editor
93 class="org.argeo.eclipse.spring.SpringExtensionFactory"
94 id="org.argeo.slc.client.ui.dist.modularDistVersionEditor"
95 name="Modular Distribution Version Editor"
96 icon="icons/modularDistributionVersion.gif"
97 default="false">
98 </editor>
99 <editor
100 class="org.argeo.eclipse.spring.SpringExtensionFactory"
101 id="org.argeo.slc.client.ui.dist.distWorkspaceEditor"
102 name="Distribution workspace editor"
103 icon="icons/distribution_perspective.gif"
104 default="false">
105 </editor>
106 </extension>
107
108 <!-- COMMANDS -->
109 <extension
110 point="org.eclipse.ui.commands">
111
112 <!-- Distribution Managemnt -->
113 <command
114 id="org.argeo.slc.client.ui.dist.normalizeDistribution"
115 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
116 name="Normalize Distribution">
117 <commandParameter
118 id="workspaceName"
119 name="Workspace name">
120 </commandParameter>
121 <commandParameter
122 id="targetRepoPath"
123 name="Target repo node path">
124 </commandParameter>
125 </command>
126
127 <command
128 id="org.argeo.slc.client.ui.dist.openModuleEditor"
129 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
130 name="Open Workspace Editor">
131 <commandParameter
132 id="param.repoNodePath"
133 name="Repo node path">
134 </commandParameter>
135 <commandParameter
136 id="param.repoUri"
137 name="Repo URI">
138 </commandParameter>
139 <commandParameter
140 id="param.workspaceName"
141 name="Workspace name">
142 </commandParameter>
143 <commandParameter
144 id="param.modulePath"
145 name="Module path name">
146 </commandParameter>
147 </command>
148
149 <!-- Repository Management -->
150 <command
151 id="org.argeo.slc.client.ui.dist.registerRepository"
152 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
153 name="Add Repository">
154 </command>
155 <command
156 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
157 id="org.argeo.slc.client.ui.dist.unregisterRemoteRepo"
158 name="Unregister remote repository">
159 <commandParameter
160 id="org.argeo.slc.client.ui.dist.repoNodePath"
161 name="Remote Repo path">
162 </commandParameter>
163 </command>
164 <command
165 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
166 id="org.argeo.slc.client.ui.dist.displayRepoInformation"
167 name="Display repository information">
168 </command>
169
170 <!-- Workspace Management -->
171 <command
172 id="org.argeo.slc.client.ui.dist.openWorkspaceEditor"
173 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
174 name="Open Workspace Editor">
175 <commandParameter
176 id="param.repoNodePath"
177 name="Repo node path">
178 </commandParameter>
179 <commandParameter
180 id="param.repoUri"
181 name="Repo URI">
182 </commandParameter>
183 <commandParameter
184 id="param.workspaceName"
185 name="Workspace name">
186 </commandParameter>
187 </command>
188 <command
189 id="org.argeo.slc.client.ui.dist.fetch"
190 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
191 name="Fetch repository">
192 <commandParameter
193 id="targetRepoPath"
194 name="Target repo uri">
195 </commandParameter>
196 </command>
197
198 <!-- <command
199 defaultHandler="org.argeo.slc.client.ui.dist.commands.MarkAsRelevantCategory"
200 id="org.argeo.slc.client.ui.dist.markAsRelevantCategory"
201 name="Mark as relevant category">
202 </command> -->
203
204 <command
205 id="org.argeo.slc.client.ui.dist.openGenerateBinariesWizard"
206 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
207 name="Generate Binaries...">
208 <commandParameter
209 id="param.repoNodePath"
210 name="Repo node path">
211 </commandParameter>
212 <commandParameter
213 id="param.workspaceName"
214 name="Workspace name">
215 </commandParameter>
216 <commandParameter
217 id="param.modulePath"
218 name="Module path name">
219 </commandParameter>
220 </command>
221
222 <command
223 id="org.argeo.slc.client.ui.dist.normalizeWorkspace"
224 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
225 name="Normalize Workspace">
226 <commandParameter
227 id="workspaceName"
228 name="Workspace name">
229 </commandParameter>
230 <commandParameter
231 id="targetRepoPath"
232 name="Target repo node path">
233 </commandParameter>
234 </command>
235 <command
236 id="org.argeo.slc.client.ui.dist.manageWorkspaceAuth"
237 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
238 name="Manage workspace authorizations">
239 <commandParameter
240 id="org.argeo.slc.client.ui.dist.workspaceName"
241 name="Workspace Name">
242 </commandParameter>
243 </command>
244
245 <command
246 id="org.argeo.slc.client.ui.dist.publishWorkspace"
247 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
248 name="Publish selected workspace">
249 <commandParameter
250 id="workspaceName"
251 name="Workspace name">
252 </commandParameter>
253 <commandParameter
254 id="targetRepoPath"
255 name="Target repo node path">
256 </commandParameter>
257 </command>
258
259 <command
260 id="org.argeo.slc.client.ui.dist.mergeWorkspaces"
261 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
262 name="Copy chosen Workspace">
263 <commandParameter
264 id="srcWkspName"
265 name="Source Workspace Name">
266 </commandParameter>
267 <commandParameter
268 id="srcRepoPath"
269 name="Source Repo Node path ">
270 </commandParameter>
271 <commandParameter
272 id="targetWkspName"
273 name="Target Workspace Name">
274 </commandParameter>
275 <commandParameter
276 id="targetRepoPath"
277 name="Target repo node path">
278 </commandParameter>
279 </command>
280
281 <!-- Workspaces CRUD -->
282 <!-- Generic new and copy workspace -->
283 <command
284 id="org.argeo.slc.client.ui.dist.createWorkspace"
285 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
286 name="Create Workspace">
287 <commandParameter
288 id="workspacePrefix"
289 name="Workspace prefix">
290 </commandParameter>
291 <commandParameter
292 id="targetRepoPath"
293 name="Target repo node path">
294 </commandParameter>
295 </command>
296 <command
297 id="org.argeo.slc.client.ui.dist.copyWorkspace"
298 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
299 name="Copy chosen Workspace">
300 <commandParameter
301 id="srcWkspName"
302 name="Source Workspace Name">
303 </commandParameter>
304 <commandParameter
305 id="targetRepoPath"
306 name="Target repo node path">
307 </commandParameter>
308 </command>
309 <!-- Specific for local java workspaces -->
310 <command
311 id="org.argeo.slc.client.ui.dist.createLocalJavaWorkspace"
312 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
313 name="Create Local Java Workspace">
314 <commandParameter
315 id="workspacePrefix"
316 name="Workspace prefix">
317 </commandParameter>
318 </command>
319 <command
320 id="org.argeo.slc.client.ui.dist.copyLocalJavaWorkspace"
321 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
322 name="Copy chosen local Java Workspace">
323 <commandParameter
324 id="srcWkspName"
325 name="Source Workspace Name">
326 </commandParameter>
327 </command>
328
329 <!-- Not terminated delete command - does not really work -->
330 <command
331 id="org.argeo.slc.client.ui.dist.deleteWorkspace"
332 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
333 name="Delete chosen Workspace">
334 <commandParameter
335 id="workspaceName"
336 name="Workspace name">
337 </commandParameter>
338 <commandParameter
339 id="targetRepoPath"
340 name="Target repo node path">
341 </commandParameter>
342 </command>
343
344 <!-- Advanced commands -->
345 <command
346 id="org.argeo.slc.client.ui.dist.doNothing"
347 defaultHandler="org.argeo.slc.client.ui.dist.commands.DoNothing"
348 name="Advanced">
349 </command>
350 <command
351 id="org.argeo.slc.client.ui.dist.runInOsgi"
352 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
353 name="Run in OSGi">
354 <commandParameter
355 id="workspaceName"
356 name="Workspace Name">
357 </commandParameter>
358 <commandParameter
359 id="modulePath"
360 name="Module Path"
361 optional="true">
362 </commandParameter>
363 </command>
364 <command
365 id="org.argeo.slc.client.ui.dist.refreshDistributionsView"
366 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
367 name="Refresh Distributions View">
368 </command>
369
370 <!-- Legacy -->
371 <command
372 defaultHandler="org.argeo.slc.client.ui.dist.commands.RefreshArtifactBrowser"
373 id="org.argeo.slc.client.ui.dist.refreshArtifactBrowser"
374 name="Refresh Artifact Browser">
375 </command>
376
377 <command
378 defaultHandler="org.argeo.slc.client.ui.dist.commands.ShowSizeColumn"
379 id="org.argeo.slc.client.ui.dist.showSizeColumn"
380 name="Show size column">
381 <state
382 id="org.argeo.slc.client.ui.dist.showSizeColumn.toggleState">
383 <class class="org.eclipse.jface.commands.ToggleState">
384 <parameter
385 name="default"
386 value="true" />
387 </class>
388 </state>
389 </command>
390 <command
391 id="org.argeo.slc.client.ui.dist.deleteArtifacts"
392 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
393 name="Remove selected artifacts">
394 </command>
395 </extension>
396
397 <!-- MENU CONTRIBUTIONS -->
398 <extension
399 id="menu:org.eclipse.ui.main.menu"
400 point="org.eclipse.ui.menus">
401 <!-- Distributions view tool bar -->
402 <menuContribution
403 locationURI="toolbar:org.argeo.slc.client.ui.dist.distributionsView">
404 <command
405 commandId="org.argeo.slc.client.ui.dist.registerRepository"
406 icon="icons/addRepo.gif"
407 label="Register repository"
408 tooltip="Register a remote repository">
409 </command>
410 <command
411 commandId="org.argeo.slc.client.ui.dist.doNothing"
412 id="org.argeo.slc.client.ui.dist.advancedMenu"
413 icon="icons/more.gif"
414 tooltip="Access to advanced commands"
415 style="pulldown">
416 </command>
417 </menuContribution>
418 <menuContribution locationURI="menu:org.argeo.slc.client.ui.dist.advancedMenu">
419 <command
420 commandId="org.argeo.slc.client.ui.dist.refreshDistributionsView"
421 icon="icons/refresh.png"
422 label="Refresh"
423 tooltip="Force the full refresh of the distribution tree (close all open connections)">
424 </command>
425 <!-- <command
426 commandId="org.argeo.slc.client.ui.dist.runInOSGi"
427 icon="icons/showSize.gif"
428 label="Run in OSGi"
429 tooltip="Run in a spearate OSGi runtime">
430 </command>
431 -->
432 </menuContribution>
433 <!-- Anonymous distribution view toolbar -->
434 <menuContribution
435 locationURI="toolbar:org.argeo.slc.client.ui.dist.anonymousDistributionsView">
436 <command
437 commandId="org.argeo.slc.client.ui.dist.refreshDistributionsView"
438 icon="icons/refresh.png"
439 label="Refresh"
440 tooltip="Force the full refresh of the distribution tree (close all open connections)">
441 </command>
442 </menuContribution>
443 <!-- Artifact Browser Tool bar -->
444 <menuContribution
445 locationURI="toolbar:org.argeo.slc.client.ui.dist.artifactsBrowser">
446 <command
447 commandId="org.argeo.slc.client.ui.dist.showSizeColumn"
448 icon="icons/showSize.gif"
449 style="toggle"
450 label="Show sizes"
451 tooltip="Warning: showing size column might reduce overall browser reactivity">
452 </command>
453 <command
454 commandId="org.argeo.slc.client.ui.dist.refreshArtifactBrowser"
455 icon="icons/refresh.png"
456 label="Refresh"
457 tooltip="Refresh the whole browser">
458 </command>
459 </menuContribution>
460 <!-- Queries -->
461 <!-- <menuContribution
462 allPopups="false"
463 locationURI="menu:org.eclipse.ui.main.menu?after=edit">
464 <menu label="Queries"
465 mnemonic="Queries"
466 id="org.argeo.slc.client.ui.dist.queryMenu">
467 <command
468 commandId="org.argeo.slc.client.ui.dist.openGenericJcrQueryEditor"
469 disabledIcon="icons/saveDisabled.gif"
470 icon="icons/results.gif"
471 label="JCR Query"
472 style="push"
473 tooltip="Open JCR query editor">
474 </command>
475 </menu>
476 </menuContribution> -->
477 </extension>
478 <extension
479 point="org.eclipse.ui.activities">
480 <!-- TODO: find a way to exclude evrything -->
481 <activityPatternBinding
482 activityId="org.argeo.slc.client.ui.slcActivity"
483 isEqualityPattern="true"
484 pattern="org.argeo.slc.client.ui.dist/org.argeo.slc.client.ui.dist.distributionPerspective">
485 </activityPatternBinding>
486 <activityPatternBinding
487 activityId="org.argeo.security.ui.adminActivity"
488 isEqualityPattern="true"
489 pattern="org.argeo.slc.client.ui.dist/org.argeo.slc.client.ui.dist.distributionPerspective">
490 </activityPatternBinding>
491 </extension>
492 </plugin>