334b6844fac58c34fdd6dc98f4b46a1789cd27fc
[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         <!-- RAP workbench main entry point for the Argeo Suite core application --> 
5         <extension
6                 point="org.eclipse.rap.ui.entrypoint">
7                 <entrypoint
8                         id="org.argeo.suite.workbench.rap.entrypoint"
9                         class="org.argeo.suite.workbench.rap.AsSecureEntryPoint"
10                         path="/suite"
11                         brandingId="org.argeo.suite.workbench.rap.defaultBranding">
12                 </entrypoint>
13         </extension>
14         
15         <!-- PERSPECTIVES -->
16         <extension
17          point="org.eclipse.ui.perspectives">
18                 <perspective
19             class="org.argeo.suite.workbench.DashboardPerspective"
20             id="org.argeo.suite.workbench.rap.dashboardPerspective"
21             icon="theme/argeo-classic/icons/favicon.ico"
22             name="Dashboard">
23                 </perspective> 
24         </extension>
25         
26         <!-- VIEWS -->
27          <extension
28                 point="org.eclipse.ui.views">
29        <!-- <view
30                         id="org.argeo.connect.people.workbench.rap.quickSearchView"
31                         class="org.argeo.eclipse.spring.SpringExtensionFactory"
32                         icon="theme/argeo-classic/icons/favicon-16px.png"
33                         name="Test View"
34                         restorable="true">
35                 </view> -->
36         </extension>
37                 
38         <!-- EDITORS --> 
39         <extension
40                 point="org.eclipse.ui.editors">
41                 <editor
42                         id="org.argeo.suite.workbench.rap.defaultDashboardEditor"
43                         class="org.argeo.eclipse.spring.SpringExtensionFactory"
44                         icon="theme/argeo-classic/icons/dashboard.gif"
45                         name="My Dashboard">
46                 </editor>
47         </extension>
48         
49         <!-- COMMANDS -->       
50         <extension
51          point="org.eclipse.ui.commands">
52          <command
53                 id="org.argeo.suite.workbench.rap.openDashboardEditor"
54                         defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
55                         name="createEntity">
56         </command>         
57         
58         <!-- Open correct editor given the node type --> 
59         <command
60                         id="org.argeo.suite.workbench.rap.openEntityEditor"
61                         defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
62                         name="Open Editor">
63                         <commandParameter
64                         id="param.jcrId"
65                         name="The jcr identifier">
66                 </commandParameter>
67                 </command>    
68                 
69         </extension>
70
71         <!-- MENU CONTRIBUTION --> 
72         <extension
73                 id="menu:org.eclipse.ui.main.menu"
74                 point="org.eclipse.ui.menus">
75         </extension>
76         
77         <!-- BRANDING AND THEMES -->
78         <extension
79                 point="org.eclipse.rap.ui.branding">
80                 <branding
81                         id="org.argeo.suite.workbench.rap.defaultBranding"
82                         themeId="org.eclipse.rap.rwt.theme.Default"
83                         title="Argeo Suite"
84                         favicon="theme/argeo-classic/icons/favicon.ico">
85                         <additionalHeaders>
86                          <link 
87                                 href="suite/theme/classic-headerExt.css"  
88                                 rel="stylesheet" />
89                         </additionalHeaders>
90                 </branding>
91         </extension> 
92         
93         <extension  
94             point="org.eclipse.equinox.http.registry.resources">  
95                  <!-- Enable overwriting of link styles in the meta tags -->
96          <resource  
97                alias="/ui/suite/theme/classic-headerExt.css"  
98                base-name="theme/argeo-classic/workbench-headerExt.css">  
99          </resource>  
100          <!-- images -->
101          <resource  
102                alias="/ui/suite/img/logo-argeo.png"  
103                base-name="theme/argeo-classic/img/logo-argeo.png">  
104          </resource>  
105          <!-- javascript libraries -->
106          <!--          <resource  
107                alias="/ui/suite/js/Chart.min.js"  
108                base-name="js/Chart.min.js">  
109          </resource>  
110          <resource  
111                alias="/ui/suite/js/leaflet.js"  
112                base-name="js/leaflet.js">  
113          </resource>  
114          <resource  
115                alias="/ui/suite/js/leaflet.css"  
116                base-name="js/leaflet.css">  
117          </resource>   -->
118     </extension>  
119         
120         <extension
121                 point="org.eclipse.rap.ui.themes">
122                 <themeContribution
123                         themeId="org.eclipse.rap.rwt.theme.Default"
124                         file="theme/argeo-classic/workbench-ext.css" />
125         </extension>
126 </plugin>