| 10 |
jpm |
1 |
package org.tela_botanica.client;
|
|
|
2 |
|
| 60 |
jpm |
3 |
import org.tela_botanica.client.modeles.Configuration;
|
| 51 |
jpm |
4 |
|
|
|
5 |
import com.extjs.gxt.ui.client.GXT;
|
|
|
6 |
import com.extjs.gxt.ui.client.Registry;
|
|
|
7 |
import com.extjs.gxt.ui.client.util.Theme;
|
| 10 |
jpm |
8 |
import com.google.gwt.core.client.EntryPoint;
|
|
|
9 |
|
| 60 |
jpm |
10 |
/**
|
| 10 |
jpm |
11 |
* Entry point classes define <code>onModuleLoad()</code>.
|
|
|
12 |
*/
|
|
|
13 |
public class Coel implements EntryPoint {
|
| 51 |
jpm |
14 |
|
| 60 |
jpm |
15 |
/**
|
|
|
16 |
* This is the entry point method.
|
|
|
17 |
*/
|
|
|
18 |
public void onModuleLoad() {
|
| 51 |
jpm |
19 |
GXT.setDefaultTheme(Theme.GRAY, true);
|
|
|
20 |
GXT.hideLoadingPanel("loading");
|
|
|
21 |
|
| 64 |
jpm |
22 |
Registry.register(RegistreId.APPLI_NOM, "Collections en ligne");
|
|
|
23 |
Registry.register(RegistreId.APPLI_CODE, "COEL");
|
|
|
24 |
Registry.register(RegistreId.APPLI_VERSION, "0.1");
|
|
|
25 |
Registry.register(RegistreId.APPLI_REVISION, "$Revision: 102 $");
|
| 60 |
jpm |
26 |
Registry.register(RegistreId.CONFIG, new Configuration());
|
| 66 |
jpm |
27 |
|
| 60 |
jpm |
28 |
new Mediateur();
|
| 102 |
jpm |
29 |
// J'appelle directement la page où je travaille
|
|
|
30 |
Mediateur mediat = Registry.get(RegistreId.MEDIATEUR);
|
|
|
31 |
mediat.clicAjouterStructure();
|
| 60 |
jpm |
32 |
}
|
| 51 |
jpm |
33 |
}
|