]> git.argeo.org Git - gpl/argeo-slc.git/blob - plugin.xml
7600f25a4f4fae9dca3ea68ad1b2f13122a45c57
[gpl/argeo-slc.git] / 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 Repo"
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 <view
42 class="org.argeo.eclipse.spring.SpringExtensionFactory"
43 id="org.argeo.slc.client.ui.dist.artifactsBrowser"
44 icon="icons/packageBrowser.gif"
45 name="Artifacts browser">
46 </view>
47 <view
48 class="org.argeo.eclipse.spring.SpringExtensionFactory"
49 id="org.argeo.slc.client.ui.dist.queryArtifactsForm"
50 icon="icons/searchForm.gif"
51 name="Artifacts Form">
52 </view>
53 <view
54 class="org.argeo.eclipse.spring.SpringExtensionFactory"
55 id="org.argeo.slc.client.ui.dist.queryBundlesForm"
56 icon="icons/searchForm.gif"
57 name="Bundles Form">
58 </view>
59 <view
60 class="org.argeo.eclipse.spring.SpringExtensionFactory"
61 id="org.argeo.slc.client.ui.dist.queryArtifactsText"
62 icon="icons/search.gif"
63 name="Query builder">
64 </view>
65 <view
66 name="Progress View"
67 icon="icons/pview.gif"
68 category="org.eclipse.ui"
69 class="org.eclipse.ui.ExtensionFactory:progressView"
70 id="org.eclipse.ui.views.ProgressView">
71 </view>
72 </extension>
73 <!-- EDITORS -->
74 <extension
75 point="org.eclipse.ui.editors">
76 <editor
77 class="org.argeo.slc.client.ui.dist.editors.GenericBundleEditor"
78 id="org.argeo.slc.client.ui.dist.genericBundleEditor"
79 name="Bundle editor"
80 icon="icons/artifactVersionBase.gif"
81 default="false">
82 </editor>
83 <editor
84 class="org.argeo.slc.client.ui.dist.editors.DistributionEditor"
85 id="org.argeo.slc.client.ui.dist.distributionEditor"
86 name="Distribution editor"
87 icon="icons/distribution_perspective.gif"
88 default="false">
89 </editor>
90 <editor
91 class="org.argeo.eclipse.spring.SpringExtensionFactory"
92 id="org.argeo.slc.client.ui.dist.distributionWorkspaceEditor"
93 name="Distribution workspace editor"
94 icon="icons/distribution_perspective.gif"
95 default="false">
96 </editor>
97 </extension>
98
99 <!-- COMMANDS -->
100 <extension
101 point="org.eclipse.ui.commands">
102
103 <!-- Distribution Managemnt -->
104 <command
105 id="org.argeo.slc.client.ui.dist.normalizeDistribution"
106 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
107 name="Normalize Distribution">
108 <commandParameter
109 id="workspaceName"
110 name="Workspace name">
111 </commandParameter>
112 <commandParameter
113 id="targetRepoPath"
114 name="Target repo node path">
115 </commandParameter>
116 </command>
117
118 <!-- Repository Management -->
119 <command
120 id="org.argeo.slc.client.ui.dist.registerRepository"
121 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
122 name="Add Repository">
123 </command>
124 <command
125 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
126 id="org.argeo.slc.client.ui.dist.unregisterRemoteRepo"
127 name="Unregister remote repository">
128 <commandParameter
129 id="org.argeo.slc.client.ui.dist.repoNodePath"
130 name="Remote Repo path">
131 </commandParameter>
132 </command>
133 <command
134 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
135 id="org.argeo.slc.client.ui.dist.displayRepoInformation"
136 name="Display repository information">
137 </command>
138
139 <!-- Workspace Management -->
140 <command
141 id="org.argeo.slc.client.ui.dist.openWorkspaceEditor"
142 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
143 name="Open Workspace Editor">
144 <commandParameter
145 id="param.repoNodePath"
146 name="Repo node path">
147 </commandParameter>
148 <commandParameter
149 id="param.repoUri"
150 name="Repo URI">
151 </commandParameter>
152 <commandParameter
153 id="param.workspaceName"
154 name="Workspace name">
155 </commandParameter>
156 </command>
157 <command
158 id="org.argeo.slc.client.ui.dist.fetch"
159 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
160 name="Fetch repository">
161 <commandParameter
162 id="targetRepoPath"
163 name="Target repo uri">
164 </commandParameter>
165 </command>
166 <command
167 id="org.argeo.slc.client.ui.dist.normalizeWorkspace"
168 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
169 name="Normalize Workspace">
170 <commandParameter
171 id="workspaceName"
172 name="Workspace name">
173 </commandParameter>
174 <commandParameter
175 id="targetRepoPath"
176 name="Target repo node path">
177 </commandParameter>
178 </command>
179 <command
180 id="org.argeo.slc.client.ui.dist.manageWorkspaceAuth"
181 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
182 name="Manage workspace authorizations">
183 <commandParameter
184 id="org.argeo.slc.client.ui.dist.workspaceName"
185 name="Workspace Name">
186 </commandParameter>
187 </command>
188
189 <command
190 id="org.argeo.slc.client.ui.dist.publishWorkspace"
191 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
192 name="Publish selected workspace">
193 <commandParameter
194 id="workspaceName"
195 name="Workspace name">
196 </commandParameter>
197 <commandParameter
198 id="targetRepoPath"
199 name="Target repo node path">
200 </commandParameter>
201 </command>
202
203 <!-- Workspaces CRUD -->
204 <command
205 id="org.argeo.slc.client.ui.dist.createWorkspace"
206 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
207 name="Create Workspace">
208 <commandParameter
209 id="workspacePrefix"
210 name="Workspace prefix">
211 </commandParameter>
212 <commandParameter
213 id="targetRepoPath"
214 name="Target repo node path">
215 </commandParameter>
216 </command>
217 <command
218 id="org.argeo.slc.client.ui.dist.deleteWorkspace"
219 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
220 name="Delete chosen Workspace">
221 <commandParameter
222 id="workspaceName"
223 name="Workspace name">
224 </commandParameter>
225 <commandParameter
226 id="targetRepoPath"
227 name="Target repo node path">
228 </commandParameter>
229 </command>
230
231 <command
232 id="org.argeo.slc.client.ui.dist.copyWorkspace"
233 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
234 name="Copy chosen Workspace">
235 <commandParameter
236 id="srcWkspName"
237 name="Source Workspace Name">
238 </commandParameter>
239 <commandParameter
240 id="targetRepoPath"
241 name="Target repo node path">
242 </commandParameter>
243 </command>
244
245 <command
246 id="org.argeo.slc.client.ui.dist.mergeWorkspaces"
247 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
248 name="Copy chosen Workspace">
249 <commandParameter
250 id="srcWkspName"
251 name="Source Workspace Name">
252 </commandParameter>
253 <commandParameter
254 id="srcRepoPath"
255 name="Source Repo Node path ">
256 </commandParameter>
257 <commandParameter
258 id="targetWkspName"
259 name="Target Workspace Name">
260 </commandParameter>
261 <commandParameter
262 id="targetRepoPath"
263 name="Target repo node path">
264 </commandParameter>
265 </command>
266
267 <!-- Advanced commands -->
268 <command
269 id="org.argeo.slc.client.ui.dist.doNothing"
270 defaultHandler="org.argeo.slc.client.ui.dist.commands.DoNothing"
271 name="Advanced">
272 </command>
273 <command
274 id="org.argeo.slc.client.ui.dist.runInOSGi"
275 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
276 name="Run in OSGi">
277 <commandParameter
278 id="workspace"
279 name="Workspace Name">
280 </commandParameter>
281 </command>
282 <command
283 id="org.argeo.slc.client.ui.dist.refreshDistributionsView"
284 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
285 name="Refresh Distributions View">
286 </command>
287
288 <!-- Legacy -->
289 <command
290 defaultHandler="org.argeo.slc.client.ui.dist.commands.RefreshArtifactBrowser"
291 id="org.argeo.slc.client.ui.dist.refreshArtifactBrowser"
292 name="Refresh Artifact Browser">
293 </command>
294 <command
295 defaultHandler="org.argeo.slc.client.ui.dist.commands.ShowSizeColumn"
296 id="org.argeo.slc.client.ui.dist.showSizeColumn"
297 name="Show size column">
298 <state
299 id="org.argeo.slc.client.ui.dist.showSizeColumn.toggleState">
300 <class class="org.eclipse.jface.commands.ToggleState">
301 <parameter
302 name="default"
303 value="true" />
304 </class>
305 </state>
306 </command>
307 <command
308 id="org.argeo.slc.client.ui.dist.refreshDistributionOverviewPage"
309 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
310 name="Refresh distribution overview page">
311 </command>
312 <command
313 id="org.argeo.slc.client.ui.dist.deleteArtifacts"
314 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
315 name="Remove selected artifacts">
316 </command>
317 </extension>
318
319 <!-- MENU CONTRIBUTIONS -->
320 <extension
321 id="menu:org.eclipse.ui.main.menu"
322 point="org.eclipse.ui.menus">
323 <!-- Distributions view tool bar -->
324 <menuContribution
325 locationURI="toolbar:org.argeo.slc.client.ui.dist.distributionsView">
326 <command
327 commandId="org.argeo.slc.client.ui.dist.registerRepository"
328 icon="icons/addRepo.gif"
329 label="Register repository"
330 tooltip="Register a remote repository">
331 </command>
332 <command
333 commandId="org.argeo.slc.client.ui.dist.doNothing"
334 id="org.argeo.slc.client.ui.dist.advancedMenu"
335 icon="icons/more.gif"
336 tooltip="Access to advanced commands"
337 style="pulldown">
338 </command>
339 </menuContribution>
340 <menuContribution locationURI="menu:org.argeo.slc.client.ui.dist.advancedMenu">
341 <command
342 commandId="org.argeo.slc.client.ui.dist.refreshDistributionsView"
343 icon="icons/refresh.png"
344 label="Refresh"
345 tooltip="Force the full refresh of the distribution tree (close all open connections)">
346 </command>
347 <command
348 commandId="org.argeo.slc.client.ui.dist.runInOSGi"
349 icon="icons/showSize.gif"
350 label="Run in OSGi"
351 tooltip="Run in a spearate OSGi runtime">
352 </command>
353 </menuContribution>
354 <!-- Anonymous distribution view toolbar -->
355 <menuContribution
356 locationURI="toolbar:org.argeo.slc.client.ui.dist.anonymousDistributionsView">
357 <command
358 commandId="org.argeo.slc.client.ui.dist.refreshDistributionsView"
359 icon="icons/refresh.png"
360 label="Refresh"
361 tooltip="Force the full refresh of the distribution tree (close all open connections)">
362 </command>
363 </menuContribution>
364 <!-- Artifact Browser Tool bar -->
365 <menuContribution
366 locationURI="toolbar:org.argeo.slc.client.ui.dist.artifactsBrowser">
367 <command
368 commandId="org.argeo.slc.client.ui.dist.showSizeColumn"
369 icon="icons/showSize.gif"
370 style="toggle"
371 label="Show sizes"
372 tooltip="Warning: showing size column might reduce overall browser reactivity">
373 </command>
374 <command
375 commandId="org.argeo.slc.client.ui.dist.refreshArtifactBrowser"
376 icon="icons/refresh.png"
377 label="Refresh"
378 tooltip="Refresh the whole browser">
379 </command>
380 </menuContribution>
381 <!-- Queries -->
382 <!-- <menuContribution
383 allPopups="false"
384 locationURI="menu:org.eclipse.ui.main.menu?after=edit">
385 <menu label="Queries"
386 mnemonic="Queries"
387 id="org.argeo.slc.client.ui.dist.queryMenu">
388 <command
389 commandId="org.argeo.slc.client.ui.dist.openGenericJcrQueryEditor"
390 disabledIcon="icons/saveDisabled.gif"
391 icon="icons/results.gif"
392 label="JCR Query"
393 style="push"
394 tooltip="Open JCR query editor">
395 </command>
396 </menu>
397 </menuContribution> -->
398 </extension>
399 <extension
400 point="org.eclipse.ui.activities">
401 <!-- TODO: find a way to exclude evrything -->
402 <activityPatternBinding
403 activityId="org.argeo.slc.client.ui.slcActivity"
404 isEqualityPattern="true"
405 pattern="org.argeo.slc.client.ui.dist/org.argeo.slc.client.ui.dist.distributionPerspective">
406 </activityPatternBinding>
407 <activityPatternBinding
408 activityId="org.argeo.security.ui.adminActivity"
409 isEqualityPattern="true"
410 pattern="org.argeo.slc.client.ui.dist/org.argeo.slc.client.ui.dist.distributionPerspective">
411 </activityPatternBinding>
412 </extension>
413 </plugin>