]> git.argeo.org Git - gpl/argeo-slc.git/blob - plugins/org.argeo.slc.client.ui.dist/plugin.xml
+ add repository description
[gpl/argeo-slc.git] / plugins / 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 Distribution"
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 </extension>
14 <!-- Views -->
15 <extension
16 point="org.eclipse.ui.views">
17 <view
18 class="org.argeo.eclipse.spring.SpringExtensionFactory"
19 id="org.argeo.slc.client.ui.dist.artifactsBrowser"
20 icon="icons/packageBrowser.gif"
21 name="Artifacts browser">
22 </view>
23 <view
24 class="org.argeo.eclipse.spring.SpringExtensionFactory"
25 id="org.argeo.slc.client.ui.dist.queryArtifactsForm"
26 icon="icons/searchForm.gif"
27 name="Artifacts Form">
28 </view>
29 <view
30 class="org.argeo.eclipse.spring.SpringExtensionFactory"
31 id="org.argeo.slc.client.ui.dist.queryBundlesForm"
32 icon="icons/searchForm.gif"
33 name="Bundles Form">
34 </view>
35 <view
36 class="org.argeo.eclipse.spring.SpringExtensionFactory"
37 id="org.argeo.slc.client.ui.dist.queryArtifactsText"
38 icon="icons/search.gif"
39 name="Query builder">
40 </view>
41 <view
42 class="org.argeo.eclipse.spring.SpringExtensionFactory"
43 id="org.argeo.slc.client.ui.dist.distributionsView"
44 icon="icons/search.gif"
45 name="Distributions">
46 </view>
47 <view
48 name="Progress View"
49 icon="icons/pview.gif"
50 category="org.eclipse.ui"
51 class="org.eclipse.ui.ExtensionFactory:progressView"
52 id="org.eclipse.ui.views.ProgressView">
53 </view>
54 </extension>
55 <!-- Editors -->
56 <extension
57 point="org.eclipse.ui.editors">
58 <editor
59 class="org.argeo.slc.client.ui.dist.editors.GenericBundleEditor"
60 id="org.argeo.slc.client.ui.dist.genericBundleEditor"
61 name="Bundle editor"
62 icon="icons/artifactVersionBase.gif"
63 default="false">
64 </editor>
65 <editor
66 class="org.argeo.slc.client.ui.dist.editors.DistributionEditor"
67 id="org.argeo.slc.client.ui.dist.distributionEditor"
68 name="Distribution editor"
69 icon="icons/distribution_perspective.gif"
70 default="false">
71 </editor>
72 </extension>
73 <!-- Commands -->
74 <extension
75 point="org.eclipse.ui.commands">
76 <!-- Command which do not need dependency injection -->
77 <command
78 defaultHandler="org.argeo.slc.client.ui.dist.commands.RefreshArtifactBrowser"
79 id="org.argeo.slc.client.ui.dist.refreshArtifactBrowser"
80 name="Refresh Artifact Browser">
81 </command>
82 <command
83 defaultHandler="org.argeo.slc.client.ui.dist.commands.PublishWorkspace"
84 id="org.argeo.slc.client.ui.dist.publishWorkspace"
85 name="Publish selected workspace">
86 </command>
87 <command
88 defaultHandler="org.argeo.slc.client.ui.dist.commands.ShowSizeColumn"
89 id="org.argeo.slc.client.ui.dist.showSizeColumn"
90 name="Show size column">
91 <state
92 id="org.argeo.slc.client.ui.dist.showSizeColumn.toggleState">
93 <class class="org.eclipse.jface.commands.ToggleState">
94 <parameter
95 name="default"
96 value="true" />
97 </class>
98 </state>
99 </command>
100
101 <!-- Command with Spring dependency injection -->
102 <command
103 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
104 id="org.argeo.slc.client.ui.dist.unregisterRemoteRepo"
105 name="Unregister remote repository">
106 <commandParameter
107 id="org.argeo.slc.client.ui.dist.repoNodePath"
108 name="Remote Repo path">
109 </commandParameter>
110 </command>
111
112 <command
113 id="org.argeo.slc.client.ui.dist.runInOSGi"
114 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
115 name="Run in OSGi">
116 <commandParameter
117 id="workspace"
118 name="Workspace Name">
119 </commandParameter>
120 </command>
121 <command
122 id="org.argeo.slc.client.ui.dist.normalizeDistribution"
123 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
124 name="Normalize Distribution">
125 <commandParameter
126 id="workspace"
127 name="Workspace Name">
128 </commandParameter>
129 </command>
130 <command
131 id="org.argeo.slc.client.ui.dist.registerRepository"
132 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
133 name="Add Repository">
134 </command>
135
136 <command
137 id="org.argeo.slc.client.ui.dist.fetch"
138 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
139 name="Fetch repository">
140 <commandParameter
141 id="targetRepoPath"
142 name="Target repo path">
143 </commandParameter>
144 </command>
145
146 <!-- TO MANIPULATE WORKSPACES -->
147 <command
148 id="org.argeo.slc.client.ui.dist.createWorkspace"
149 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
150 name="Create Workspace">
151 </command>
152 <command
153 id="org.argeo.slc.client.ui.dist.deleteWorkspace"
154 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
155 name="Delete chosen Workspace">
156 <commandParameter
157 id="org.argeo.slc.client.ui.dist.workspaceName"
158 name="Workspace Name">
159 </commandParameter>
160 </command>
161 <command
162 id="org.argeo.slc.client.ui.dist.copyWorkspace"
163 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
164 name="Copy chosen Workspace">
165 <commandParameter
166 id="org.argeo.slc.client.ui.dist.workspaceName"
167 name="Workspace Name">
168 </commandParameter>
169 </command>
170 <command
171 id="org.argeo.slc.client.ui.dist.manageWorkspaceAuth"
172 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
173 name="Manage workspace authorizations">
174 <commandParameter
175 id="org.argeo.slc.client.ui.dist.workspaceName"
176 name="Workspace Name">
177 </commandParameter>
178 </command>
179 <command
180 id="org.argeo.slc.client.ui.dist.refreshDistributionsView"
181 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
182 name="Refresh Distributions View">
183 </command>
184 <command
185 id="org.argeo.slc.client.ui.dist.refreshDistributionOverviewPage"
186 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
187 name="Refresh distribution overview page">
188 </command>
189 <command
190 id="org.argeo.slc.client.ui.dist.deleteArtifacts"
191 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
192 name="Remove selected artifacts">
193 </command>
194 </extension>
195 <extension
196 id="menu:org.eclipse.ui.main.menu"
197 point="org.eclipse.ui.menus">
198
199 <!-- View Specific Menus -->
200 <menuContribution
201 locationURI="toolbar:org.argeo.slc.client.ui.dist.artifactsBrowser">
202 <command
203 commandId="org.argeo.slc.client.ui.dist.showSizeColumn"
204 icon="icons/showSize.gif"
205 style="toggle"
206 label="Show sizes"
207 tooltip="Warning: showing size column might reduce overall browser reactivity">
208 </command>
209 <command
210 commandId="org.argeo.slc.client.ui.dist.refreshArtifactBrowser"
211 icon="icons/refresh.png"
212 label="Refresh"
213 tooltip="Refresh the whole browser">
214 </command>
215 </menuContribution>
216 <menuContribution
217 locationURI="toolbar:org.argeo.slc.client.ui.dist.distributionsView">
218 <command
219 commandId="org.argeo.slc.client.ui.dist.registerRepository"
220 icon="icons/addRepo.gif"
221 label="Register repository"
222 tooltip="Register a remote repository">
223 </command>
224 <command
225 commandId="org.argeo.slc.client.ui.dist.refreshDistributionsView"
226 icon="icons/refresh.png"
227 label="Refresh"
228 tooltip="Refresh distributions view">
229 </command>
230 <!--
231 <command
232 commandId="org.argeo.slc.client.ui.dist.runInOSGi"
233 icon="icons/showSize.gif"
234 label="Run in OSGi"
235 tooltip="Run in a spearate OSGi runtime">
236 </command>
237 -->
238 </menuContribution>
239 <!-- Queries -->
240 <!-- <menuContribution
241 allPopups="false"
242 locationURI="menu:org.eclipse.ui.main.menu?after=edit">
243 <menu label="Queries"
244 mnemonic="Queries"
245 id="org.argeo.slc.client.ui.dist.queryMenu">
246 <command
247 commandId="org.argeo.slc.client.ui.dist.openGenericJcrQueryEditor"
248 disabledIcon="icons/saveDisabled.gif"
249 icon="icons/results.gif"
250 label="JCR Query"
251 style="push"
252 tooltip="Open JCR query editor">
253 </command>
254 </menu>
255 </menuContribution> -->
256 </extension>
257 <extension
258 point="org.eclipse.ui.activities">
259 <!-- TODO: find a way to exclude evrything -->
260 <activityPatternBinding
261 activityId="org.argeo.slc.client.ui.slcActivity"
262 isEqualityPattern="true"
263 pattern="org.argeo.slc.client.ui.dist/org.argeo.slc.client.ui.dist.distributionPerspective">
264 </activityPatternBinding>
265 <activityPatternBinding
266 activityId="org.argeo.security.ui.adminActivity"
267 isEqualityPattern="true"
268 pattern="org.argeo.slc.client.ui.dist/org.argeo.slc.client.ui.dist.distributionPerspective">
269 </activityPatternBinding>
270 </extension>
271 </plugin>