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