]> git.argeo.org Git - gpl/argeo-slc.git/blob - eclipse/plugins/org.argeo.slc.client.ui.dist/plugin.xml
[maven-release-plugin] prepare release argeo-slc-1.1.2
[gpl/argeo-slc.git] / eclipse / 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 </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
106 <!-- TO MANIPULATE WORKSPACES -->
107 <command
108 id="org.argeo.slc.client.ui.dist.createWorkspace"
109 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
110 name="Create Workspace">
111 </command>
112 <command
113 id="org.argeo.slc.client.ui.dist.deleteWorkspace"
114 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
115 name="Delete chosen Workspace">
116 <commandParameter
117 id="org.argeo.slc.client.ui.dist.workspaceName"
118 name="Workspace Name">
119 </commandParameter>
120 </command>
121 <command
122 id="org.argeo.slc.client.ui.dist.copyWorkspace"
123 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
124 name="Copy chosen Workspace">
125 <commandParameter
126 id="org.argeo.slc.client.ui.dist.workspaceName"
127 name="Workspace Name">
128 </commandParameter>
129 </command>
130 <command
131 id="org.argeo.slc.client.ui.dist.manageWorkspaceAuth"
132 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
133 name="Manage workspace authorizations">
134 <commandParameter
135 id="org.argeo.slc.client.ui.dist.workspaceName"
136 name="Workspace Name">
137 </commandParameter>
138 </command>
139 <command
140 id="org.argeo.slc.client.ui.dist.refreshDistributionsView"
141 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
142 name="Refresh Distributions View">
143 </command>
144 <command
145 id="org.argeo.slc.client.ui.dist.refreshDistributionOverviewPage"
146 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
147 name="Refresh distribution overview page">
148 </command>
149 <command
150 id="org.argeo.slc.client.ui.dist.deleteArtifacts"
151 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
152 name="Remove selected artifacts">
153 </command>
154 </extension>
155 <extension
156 id="menu:org.eclipse.ui.main.menu"
157 point="org.eclipse.ui.menus">
158
159 <!-- View Specific Menus -->
160 <menuContribution
161 locationURI="toolbar:org.argeo.slc.client.ui.dist.artifactsBrowser">
162 <command
163 commandId="org.argeo.slc.client.ui.dist.showSizeColumn"
164 icon="icons/showSize.gif"
165 style="toggle"
166 label="Show sizes"
167 tooltip="Warning: showing size column might reduce overall browser reactivity">
168 </command>
169 <command
170 commandId="org.argeo.slc.client.ui.dist.refreshArtifactBrowser"
171 icon="icons/refresh.png"
172 label="Refresh"
173 tooltip="Refresh the whole browser">
174 </command>
175 </menuContribution>
176 <!--
177 <menuContribution
178 locationURI="toolbar:org.argeo.slc.client.ui.dist.distributionsView">
179 <command
180 commandId="org.argeo.slc.client.ui.dist.runInOSGi"
181 icon="icons/showSize.gif"
182 label="Run in OSGi"
183 tooltip="Run in a spearate OSGi runtime">
184 </command>
185 </menuContribution>
186 -->
187 <!-- Queries -->
188 <!-- <menuContribution
189 allPopups="false"
190 locationURI="menu:org.eclipse.ui.main.menu?after=edit">
191 <menu label="Queries"
192 mnemonic="Queries"
193 id="org.argeo.slc.client.ui.dist.queryMenu">
194 <command
195 commandId="org.argeo.slc.client.ui.dist.openGenericJcrQueryEditor"
196 disabledIcon="icons/saveDisabled.gif"
197 icon="icons/results.gif"
198 label="JCR Query"
199 style="push"
200 tooltip="Open JCR query editor">
201 </command>
202 </menu>
203 </menuContribution> -->
204 </extension>
205 <extension
206 point="org.eclipse.ui.activities">
207 <!-- TODO: find a way to exclude evrything -->
208 <activityPatternBinding
209 activityId="org.argeo.slc.client.ui.slcActivity"
210 isEqualityPattern="true"
211 pattern="org.argeo.slc.client.ui.dist/org.argeo.slc.client.ui.dist.distributionPerspective">
212 </activityPatternBinding>
213 <activityPatternBinding
214 activityId="org.argeo.security.ui.adminActivity"
215 isEqualityPattern="true"
216 pattern="org.argeo.slc.client.ui/org.argeo.slc.client.ui.slcExecutionPerspective">
217 </activityPatternBinding>
218 </extension>
219 </plugin>