Rename Connect UI to Connect UI Workbench
[gpl/argeo-suite.git] / org.argeo.suite.workbench.rap / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.6"?>
3 <plugin>
4 <!-- PERSPECTIVES -->
5 <extension
6 point="org.eclipse.ui.perspectives">
7 <perspective
8 class="org.argeo.suite.workbench.DashboardPerspective"
9 id="org.argeo.suite.workbench.rap.dashboardPerspective"
10 icon="img/favicon.ico"
11 name="Dashboard">
12 </perspective>
13 </extension>
14
15 <!-- VIEWS -->
16 <extension
17 point="org.eclipse.ui.views">
18 <view
19 class="org.argeo.eclipse.spring.SpringExtensionFactory"
20 id="org.argeo.suite.workbench.rap.quickSearchView"
21 name="%search"
22 icon="platform:/plugin/org.argeo.connect.ui.workbench/icons/actions/search.png"
23 restorable="false">
24 </view>
25
26 </extension>
27
28 <!-- EDITORS -->
29 <extension
30 point="org.eclipse.ui.editors">
31 <editor
32 id="org.argeo.suite.workbench.rap.defaultDashboardEditor"
33 class="org.argeo.eclipse.spring.SpringExtensionFactory"
34 icon="platform:/plugin/org.argeo.connect.ui.workbench//icons/types/dashboard.png"
35 name="Dashboard">
36 </editor>
37 </extension>
38
39 <!-- COMMANDS -->
40 <extension
41 point="org.eclipse.ui.commands">
42 <command
43 id="org.argeo.suite.workbench.rap.importEntities"
44 defaultHandler="org.argeo.eclipse.spring.SpringExtensionFactory"
45 name="Import entities">
46 </command>
47 </extension>
48
49 <!-- MENU CONTRIBUTION -->
50 <extension
51 id="menu:org.eclipse.ui.main.menu"
52 point="org.eclipse.ui.menus">
53
54 <menuContribution locationURI="menu:org.argeo.cms.ui.workbench.rap.mainMenu?before=org.argeo.cms.ui.workbench.rap.beforeExit">
55 <menu
56 id="org.argeo.suite.workbench.rap.advancedMenu"
57 label="Administration"
58 icon="icons/more.gif"
59 tooltip="Access to advanced commands">
60 <visibleWhen
61 checkEnabled="false">
62 <with variable="roles">
63 <iterate ifEmpty="false" operator="or">
64 <equals value="cn=org.argeo.suite.manager,ou=roles,ou=node" />
65 </iterate>
66 </with>
67 </visibleWhen>
68 </menu>
69 </menuContribution>
70 <menuContribution locationURI="menu:org.argeo.suite.workbench.rap.advancedMenu">
71 <command
72 commandId="org.argeo.suite.workbench.rap.importEntities"
73 icon="icons/upload.gif"
74 label="Import data..."
75 tooltip="Upload XLS file that contains legacy/external data">
76 </command>
77 </menuContribution>
78 </extension>
79
80 <!-- BRANDING AND THEMES -->
81 <extension
82 point="org.eclipse.equinox.http.registry.resources">
83 <!-- javascript libraries -->
84 <resource
85 alias="/ui/suite/js/Chart.min.js"
86 base-name="js/Chart.min.js">
87 </resource>
88 <resource
89 alias="/ui/suite/js/leaflet.js"
90 base-name="js/leaflet.js">
91 </resource>
92 <resource
93 alias="/ui/suite/js/leaflet.css"
94 base-name="js/leaflet.css">
95 </resource>
96 <resource
97 alias="/css/headerExt.css"
98 base-name="css/headerExt.css">
99 </resource>
100 <resource
101 alias="/img/logo-argeo.png"
102 base-name="img/logo-argeo.png">
103 </resource>
104 </extension>
105
106 <extension
107 point="org.eclipse.rap.ui.entrypoint">
108 <entrypoint
109 id="org.argeo.suite.workbench.rap.entrypoint"
110 class="org.argeo.suite.workbench.rap.AsSecureEntryPoint"
111 path="/office"
112 brandingId="org.argeo.suite.theme.argeo2.defaultBranding">
113 </entrypoint>
114 </extension>
115
116 <extension
117 point="org.eclipse.rap.ui.branding">
118 <branding
119 id="org.argeo.suite.theme.argeo2.defaultBranding"
120 themeId="org.eclipse.rap.rwt.theme.Default"
121 title="Argeo Suite"
122 favicon="img/favicon.ico">
123 <additionalHeaders>
124 <link href="/css/headerExt.css" rel="stylesheet" />
125 </additionalHeaders>
126 </branding>
127 </extension>
128
129 </plugin>