]> git.argeo.org Git - lgpl/argeo-commons.git/blob - server/plugins/org.argeo.jcr.ui.explorer/plugin.xml
Add Swing map viewer to build
[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 name="Add file folder...">
43 </command>
44 <command
45 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
46 id="org.argeo.jcr.ui.explorer.refresh"
47 name="Refresh">
48 </command>
49 <command
50 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
51 id="org.argeo.jcr.ui.explorer.deleteNode"
52 name="Delete node">
53 </command>
54 <command
55 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
56 id="org.argeo.jcr.ui.explorer.importFileSystem"
57 name="Import files...">
58 </command>
59 <command
60 defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
61 id="org.argeo.jcr.ui.explorer.openFile"
62 name="Open current file">
63 </command>
64 </extension>
65 <extension point="org.eclipse.ui.menus">
66 <menuContribution
67 locationURI="menu:org.argeo.jcr.ui.explorer.browserView">
68 <command
69 commandId="org.argeo.jcr.ui.explorer.openGenericJcrQueryEditor"
70 icon="icons/query.png"
71 style="push">
72 </command>
73 </menuContribution>
74 <menuContribution
75 locationURI="popup:org.argeo.jcr.ui.explorer.browserView">
76 <command
77 commandId="org.argeo.jcr.ui.explorer.refresh"
78 icon="icons/refresh.png"
79 style="push">
80 </command>
81 <command
82 commandId="org.argeo.jcr.ui.explorer.addFileFolder"
83 icon="icons/add.gif"
84 style="push">
85 </command>
86 <command
87 commandId="org.argeo.jcr.ui.explorer.deleteNode"
88 icon="icons/remove.gif"
89 style="push">
90 </command>
91 <command
92 commandId="org.argeo.jcr.ui.explorer.importFileSystem"
93 icon="icons/import_fs.png"
94 style="push"
95 tooltip="Import files from the files sytem to the repository">
96 </command>
97 </menuContribution>
98 </extension>
99 <extension
100 point="org.eclipse.ui.activities">
101 <activity
102 description="Only for admins"
103 id="org.argeo.jcr.ui.explorer.adminActivity"
104 name="Admin">
105 <enabledWhen>
106 <with variable="roles">
107 <iterate ifEmpty="false" operator="or">
108 <equals value="ROLE_ADMIN" />
109 </iterate>
110 </with>
111 </enabledWhen>
112 </activity>
113 <!-- TODO: find a way to exclude evrything -->
114 <activityPatternBinding
115 activityId="org.argeo.jcr.ui.explorer.adminActivity"
116 isEqualityPattern="true"
117 pattern="org.argeo.jcr.ui.explorer/org.argeo.jcr.ui.explorer.perspective">
118 </activityPatternBinding>
119 </extension>
120 </plugin>