]> git.argeo.org Git - gpl/argeo-slc.git/blob - plugin.xml
cc4b39c239087a492e625d5ab6eac39155f6ff13
[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 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 </extension>
48 <!-- Editors -->
49 <extension
50 point="org.eclipse.ui.editors">
51 <editor
52 class="org.argeo.slc.client.ui.dist.editors.GenericArtifactEditor"
53 id="org.argeo.slc.client.ui.dist.genericArtifactEditor"
54 name="Artifact editor"
55 icon="icons/artifactVersionBase.gif"
56 default="false">
57 </editor>
58 <editor
59 class="org.argeo.slc.client.ui.dist.editors.DistributionEditor"
60 id="org.argeo.slc.client.ui.dist.distributionEditor"
61 name="Distribution editor"
62 icon="icons/distribution_perspective.gif"
63 default="false">
64 </editor>
65 </extension>
66 <!-- Commands -->
67 <extension
68 point="org.eclipse.ui.commands">
69 <command
70 defaultHandler="org.argeo.slc.client.ui.dist.commands.ShowSizeColumn"
71 id="org.argeo.slc.client.ui.dist.showSizeColumn"
72 name="Show size column">
73 <state
74 id="org.argeo.slc.client.ui.dist.showSizeColumn.toggleState">
75 <class class="org.eclipse.jface.commands.ToggleState">
76 <parameter
77 name="default"
78 value="true" />
79 </class>
80 </state>
81 </command>
82 <command
83 defaultHandler="org.argeo.slc.client.ui.dist.commands.RefreshArtifactBrowser"
84 id="org.argeo.slc.client.ui.dist.refreshArtifactBrowser"
85 name="Refresh Artifact Browser">
86 </command>
87 <command
88 id="org.argeo.slc.client.ui.dist.runInOSGi"
89 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
90 name="Run in OSGi">
91 <commandParameter
92 id="workspace"
93 name="Workspace Name">
94 </commandParameter>
95 </command>
96 <command
97 id="org.argeo.slc.client.ui.dist.normalizeDistribution"
98 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
99 name="Normalize Distribution">
100 <commandParameter
101 id="workspace"
102 name="Workspace Name">
103 </commandParameter>
104 </command>
105 <command
106 id="org.argeo.slc.client.ui.dist.addRepository"
107 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
108 name="Add Repository">
109 </command>
110
111 <!-- TO MANIPULATE WORKSPACES -->
112 <command
113 id="org.argeo.slc.client.ui.dist.createWorkspace"
114 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
115 name="Create Workspace">
116 </command>
117 <command
118 id="org.argeo.slc.client.ui.dist.deleteWorkspace"
119 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
120 name="Delete chosen Workspace">
121 <commandParameter
122 id="org.argeo.slc.client.ui.dist.workspaceName"
123 name="Workspace Name">
124 </commandParameter>
125 </command>
126 <command
127 id="org.argeo.slc.client.ui.dist.copyWorkspace"
128 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
129 name="Copy chosen Workspace">
130 <commandParameter
131 id="org.argeo.slc.client.ui.dist.workspaceName"
132 name="Workspace Name">
133 </commandParameter>
134 </command>
135 <command
136 id="org.argeo.slc.client.ui.dist.manageWorkspaceAuth"
137 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
138 name="Manage workspace authorizations">
139 <commandParameter
140 id="org.argeo.slc.client.ui.dist.workspaceName"
141 name="Workspace Name">
142 </commandParameter>
143 </command>
144 <command
145 id="org.argeo.slc.client.ui.dist.refreshDistributionsView"
146 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
147 name="Refresh Distributions View">
148 </command>
149 <command
150 id="org.argeo.slc.client.ui.dist.refreshDistributionOverviewPage"
151 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
152 name="Refresh distribution overview page">
153 </command>
154 <command
155 id="org.argeo.slc.client.ui.dist.deleteArtifacts"
156 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
157 name="Remove selected artifacts">
158 </command>
159 </extension>
160 <extension
161 id="menu:org.eclipse.ui.main.menu"
162 point="org.eclipse.ui.menus">
163
164 <!-- View Specific Menus -->
165 <menuContribution
166 locationURI="toolbar:org.argeo.slc.client.ui.dist.artifactsBrowser">
167 <command
168 commandId="org.argeo.slc.client.ui.dist.showSizeColumn"
169 icon="icons/showSize.gif"
170 style="toggle"
171 label="Show sizes"
172 tooltip="Warning: showing size column might reduce overall browser reactivity">
173 </command>
174 <command
175 commandId="org.argeo.slc.client.ui.dist.refreshArtifactBrowser"
176 icon="icons/refresh.png"
177 label="Refresh"
178 tooltip="Refresh the whole browser">
179 </command>
180 </menuContribution>
181 <menuContribution
182 locationURI="toolbar:org.argeo.slc.client.ui.dist.distributionsView">
183 <command
184 commandId="org.argeo.slc.client.ui.dist.addRepository"
185 icon="icons/addItem.gif"
186 label="Add repository"
187 tooltip="Add a repository">
188 </command>
189 <!--
190 <command
191 commandId="org.argeo.slc.client.ui.dist.runInOSGi"
192 icon="icons/showSize.gif"
193 label="Run in OSGi"
194 tooltip="Run in a spearate OSGi runtime">
195 </command>
196 -->
197 </menuContribution>
198 <!-- Queries -->
199 <!-- <menuContribution
200 allPopups="false"
201 locationURI="menu:org.eclipse.ui.main.menu?after=edit">
202 <menu label="Queries"
203 mnemonic="Queries"
204 id="org.argeo.slc.client.ui.dist.queryMenu">
205 <command
206 commandId="org.argeo.slc.client.ui.dist.openGenericJcrQueryEditor"
207 disabledIcon="icons/saveDisabled.gif"
208 icon="icons/results.gif"
209 label="JCR Query"
210 style="push"
211 tooltip="Open JCR query editor">
212 </command>
213 </menu>
214 </menuContribution> -->
215 </extension>
216 <extension
217 point="org.eclipse.ui.activities">
218 <!-- TODO: find a way to exclude evrything -->
219 <activityPatternBinding
220 activityId="org.argeo.slc.client.ui.slcActivity"
221 isEqualityPattern="true"
222 pattern="org.argeo.slc.client.ui.dist/org.argeo.slc.client.ui.dist.distributionPerspective">
223 </activityPatternBinding>
224 <activityPatternBinding
225 activityId="org.argeo.security.ui.adminActivity"
226 isEqualityPattern="true"
227 pattern="org.argeo.slc.client.ui.dist/org.argeo.slc.client.ui.dist.distributionPerspective">
228 </activityPatternBinding>
229 </extension>
230 </plugin>