]>
git.argeo.org Git - lgpl/argeo-commons.git/blob - server/plugins/org.argeo.jcr.ui.explorer/plugin.xml
1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <?eclipse version=
"3.4"?>
6 point=
"org.eclipse.ui.perspectives">
8 class=
"org.argeo.jcr.ui.explorer.JcrExplorerPerspective"
10 id=
"org.argeo.jcr.ui.explorer.perspective"
16 point=
"org.eclipse.ui.views">
18 class=
"org.argeo.eclipse.spring.SpringExtensionFactory"
19 icon=
"icons/browser.gif"
20 id=
"org.argeo.jcr.ui.explorer.browserView"
26 point=
"org.eclipse.ui.editors">
28 class=
"org.argeo.eclipse.spring.SpringExtensionFactory"
29 id=
"org.argeo.jcr.ui.explorer.genericJcrQueryEditor"
31 icon=
"icons/query.png"
35 class=
"org.argeo.eclipse.spring.SpringExtensionFactory"
36 id=
"org.argeo.jcr.ui.explorer.genericNodeEditor"
38 icon=
"icons/query.png"
44 point=
"org.eclipse.ui.commands">
46 defaultHandler=
"org.argeo.eclipse.spring.SpringCommandHandler"
47 id=
"org.argeo.jcr.ui.explorer.openGenericJcrQueryEditor"
48 name=
"New generic JCR query">
51 defaultHandler=
"org.argeo.eclipse.spring.SpringCommandHandler"
52 id=
"org.argeo.jcr.ui.explorer.openGenericNodeEditor"
53 name=
"Open generic node Editor">
55 id=
"org.argeo.jcr.ui.explorer.nodePath"
60 defaultHandler=
"org.argeo.eclipse.spring.SpringCommandHandler"
61 id=
"org.argeo.jcr.ui.explorer.getNodeSize"
65 defaultHandler=
"org.argeo.eclipse.spring.SpringCommandHandler"
66 id=
"org.argeo.jcr.ui.explorer.addRemoteRepository"
67 name=
"Add remote JCR repository">
69 id=
"org.argeo.jcr.ui.explorer.repositoryUri"
70 name=
"Repository URI">
74 defaultHandler=
"org.argeo.eclipse.spring.SpringCommandHandler"
75 id=
"org.argeo.jcr.ui.explorer.addFolderNode"
76 name=
"Create the new folder">
79 defaultHandler=
"org.argeo.eclipse.spring.SpringCommandHandler"
80 id=
"org.argeo.jcr.ui.explorer.refresh"
84 defaultHandler=
"org.argeo.eclipse.spring.SpringCommandHandler"
85 id=
"org.argeo.jcr.ui.explorer.deleteNodes"
89 defaultHandler=
"org.argeo.eclipse.spring.SpringCommandHandler"
90 id=
"org.argeo.jcr.ui.explorer.importFileSystem"
91 name=
"Import files...">
94 defaultHandler=
"org.argeo.eclipse.spring.SpringCommandHandler"
95 id=
"org.argeo.jcr.ui.explorer.openFile"
96 name=
"Open current file">
101 <extension point=
"org.eclipse.ui.menus">
103 locationURI=
"menu:org.argeo.jcr.ui.explorer.browserView">
105 commandId=
"org.argeo.jcr.ui.explorer.openGenericJcrQueryEditor"
106 icon=
"icons/query.png"
110 commandId=
"org.argeo.jcr.ui.explorer.addRemoteRepository"
111 icon=
"icons/addRepo.gif"
116 locationURI=
"popup:org.argeo.jcr.ui.explorer.browserView">
118 commandId=
"org.argeo.jcr.ui.explorer.refresh"
119 icon=
"icons/refresh.png"
123 commandId=
"org.argeo.jcr.ui.explorer.addFolderNode"
124 icon=
"icons/addFolder.gif"
125 label=
"%addNewFolderCmdLbl"
132 value=
"org.argeo.jcr.ui.explorer.model.SingleJcrNode">
135 value=
"org.argeo.jcr.ui.explorer.model.WorkspaceNode">
139 definitionId=
"expression.onlyOneItemSelected">
146 commandId=
"org.argeo.jcr.ui.explorer.deleteNodes"
147 icon=
"icons/remove.gif"
153 value=
"org.argeo.jcr.ui.explorer.model.SingleJcrNode">
156 value=
"org.argeo.jcr.ui.explorer.model.WorkspaceNode">
163 commandId=
"org.argeo.jcr.ui.explorer.importFileSystem"
164 icon=
"icons/import_fs.png"
166 tooltip=
"Import files from the files sytem to the repository">
172 value=
"org.argeo.jcr.ui.explorer.model.SingleJcrNode">
175 value=
"org.argeo.jcr.ui.explorer.model.WorkspaceNode">
179 variable=
"activeMenuSelection">
189 commandId=
"org.argeo.jcr.ui.explorer.addRemoteRepository"
190 icon=
"icons/addRepo.gif"
196 value=
"org.argeo.jcr.ui.explorer.model.RepositoriesNode">
199 value=
"org.argeo.jcr.ui.explorer.model.RepositoryNode">
206 commandId=
"org.argeo.jcr.ui.explorer.getNodeSize"
207 icon=
"icons/getSize.gif"
213 value=
"org.argeo.jcr.ui.explorer.model.SingleJcrNode">
216 value=
"org.argeo.jcr.ui.explorer.model.WorkspaceNode">
225 <!-- Core expression definition -->
228 point=
"org.eclipse.core.expressions.definitions">
230 id=
"expression.onlyOneItemSelected">
232 variable=
"activeMenuSelection">
241 point=
"org.eclipse.ui.activities">
243 description=
"Only for admins"
244 id=
"org.argeo.jcr.ui.explorer.adminActivity"
247 <with variable=
"roles">
248 <iterate ifEmpty=
"false" operator=
"or">
249 <equals value=
"ROLE_ADMIN" />
254 <!-- TODO: find a way to exclude evrything -->
255 <activityPatternBinding
256 activityId=
"org.argeo.jcr.ui.explorer.adminActivity"
257 isEqualityPattern=
"true"
258 pattern=
"org.argeo.jcr.ui.explorer/org.argeo.jcr.ui.explorer.perspective">
259 </activityPatternBinding>