]> git.argeo.org Git - lgpl/argeo-commons.git/blob - server/plugins/org.argeo.jcr.ui.explorer/plugin.xml
Introduce AsyncSystemTaskExecutor
[lgpl/argeo-commons.git] / server / plugins / org.argeo.jcr.ui.explorer / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.4"?>
3 <plugin>
4 <extension
5 point="org.eclipse.ui.perspectives">
6 <perspective
7 class="org.argeo.eclipse.ui.jcr.explorer.JcrExplorerPerspective"
8 icon="icons/nodes.gif"
9 id="org.argeo.jcr.ui.explorer.perspective"
10 name="JCR Explorer">
11 </perspective>
12 </extension>
13 <extension
14 point="org.eclipse.ui.views">
15 <view
16 class="org.argeo.eclipse.spring.SpringExtensionFactory"
17 icon="icons/browser.gif"
18 id="org.argeo.jcr.ui.explorer.browserView"
19 name="JCR Browser">
20 </view>
21 </extension>
22 <extension
23 point="org.eclipse.ui.editors">
24 <editor
25 class="org.argeo.eclipse.spring.SpringExtensionFactory"
26 id="org.argeo.jcr.ui.explorer.genericJcrQueryEditor"
27 name="JCR Query"
28 icon="icons/query.png"
29 default="false">
30 </editor>
31 </extension>
32 <extension
33 point="org.eclipse.ui.commands">
34 <command
35 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
36 id="org.argeo.jcr.ui.explorer.openGenericJcrQueryEditor"
37 name="New generic JCR query">
38 </command>
39 <command
40 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
41 id="org.argeo.jcr.ui.explorer.addFileFolder"
42 icon="icons/add.gif"
43 name="Add file folder...">
44 </command>
45 <command
46 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
47 id="org.argeo.jcr.ui.explorer.refresh"
48 icon="icons/refresh.png"
49 name="Refresh">
50 </command>
51 <command
52 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
53 id="org.argeo.jcr.ui.explorer.deleteNode"
54 name="Delete node">
55 </command>
56 <command
57 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
58 id="org.argeo.jcr.ui.explorer.importFileSystem"
59 name="Import files...">
60 </command>
61 <command
62 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
63 id="org.argeo.jcr.ui.explorer.openFile"
64 name="Open current file">
65 </command>
66 </extension>
67 <extension point="org.eclipse.ui.menus">
68 <menuContribution
69 locationURI="menu:org.argeo.jcr.ui.explorer.browserView">
70 <command
71 commandId="org.argeo.jcr.ui.explorer.openGenericJcrQueryEditor"
72 icon="icons/query.png"
73 style="push">
74 </command>
75 <command
76 commandId="org.argeo.jcr.ui.explorer.initUserHome"
77 style="push"
78 tooltip="Initializes the user specific area within this node">
79 </command>
80 </menuContribution>
81 <menuContribution
82 locationURI="popup:org.argeo.jcr.ui.explorer.browserView">
83 <command
84 commandId="org.argeo.jcr.ui.explorer.refresh"
85 icon="icons/refresh.png"
86 style="push">
87 </command>
88 <command
89 commandId="org.argeo.jcr.ui.explorer.addFileFolder"
90 icon="icons/add.gif"
91 style="push">
92 </command>
93 <command
94 commandId="org.argeo.jcr.ui.explorer.deleteNode"
95 icon="icons/remove.gif"
96 style="push">
97 </command>
98 <command
99 commandId="org.argeo.jcr.ui.explorer.importFileSystem"
100 icon="icons/import_fs.png"
101 style="push"
102 tooltip="Import files from the files sytem to the repository">
103 </command>
104 </menuContribution>
105 </extension>
106 <extension
107 point="org.eclipse.ui.activities">
108 <activity
109 description="Only for admins"
110 id="org.argeo.jcr.ui.explorer.adminActivity"
111 name="Admin">
112 <enabledWhen>
113 <with variable="roles">
114 <iterate ifEmpty="false" operator="or">
115 <equals value="ROLE_ADMIN" />
116 </iterate>
117 </with>
118 </enabledWhen>
119 </activity>
120 <!-- TODO: find a way to exclude evrything -->
121 <activityPatternBinding
122 activityId="org.argeo.jcr.ui.explorer.adminActivity"
123 isEqualityPattern="true"
124 pattern="org.argeo.jcr.ui.explorer/org.argeo.jcr.ui.explorer.perspective">
125 </activityPatternBinding>
126 </extension>
127 </plugin>