Subversion Repositories eFlore/Archives.cel-v1

Rev

Rev 10 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 10 Rev 11
Line 3... Line 3...
3
import com.google.gwt.core.client.EntryPoint;
3
import com.google.gwt.core.client.EntryPoint;
4
import com.google.gwt.user.client.Window;
4
import com.google.gwt.user.client.Window;
5
import com.google.gwt.user.client.ui.DockPanel;
5
import com.google.gwt.user.client.ui.DockPanel;
6
import com.google.gwt.user.client.ui.RootPanel;
6
import com.google.gwt.user.client.ui.RootPanel;
Line 7... Line -...
7
 
-
 
8
import org.tela_botanica.client.TopPanel;
-
 
9
import org.tela_botanica.client.CenterPanel;
-
 
10
import org.tela_botanica.client.LeftPanel;
-
 
Line 11... Line 7...
11
 
7
 
12
 
8
 
13
 
9
 
14
/**
10
/**
Line 15... Line -...
15
 * Entry point classes define <code>onModuleLoad()</code>.
-
 
16
 */
11
 * Entry point classes define <code>onModuleLoad()</code>.
17
public class Cel implements EntryPoint {
12
 */
18
 
13
public class Cel implements EntryPoint {
Line 19... Line 14...
19
 
14
 
Line 31... Line 26...
31
  public void onModuleLoad() {
26
  public void onModuleLoad() {
Line 32... Line 27...
32
 
27
 
33
 
28
 
34
	 mediator= new Mediator();
29
	 mediator= new Mediator();
Line 35... Line 30...
35
	 mediator.registerCel(this);
30
	 mediator.registerCel(this);
Line 36... Line 31...
36
	 mediator.initUser();
31
	 mediator.initUser(); // Appelle initAsync suivant
Line 37... Line -...
37
		
-
 
38
		
32
		
-
 
33
		
39
  }
34
  }
Line 40... Line 35...
40
  
35
  
41
  public void initAsync() {
36
  public void initAsync() {
Line 66... Line 61...
66
	  // Pour l'instant : relevés.
61
	  // Pour l'instant : relevés.
Line 67... Line 62...
67
	  
62
	  
Line 68... Line 63...
68
	  outer.setWidth("100%");
63
	  outer.setWidth("100%");
69
 
64
 
Line 70... Line 65...
70
	  outer.setSpacing(4);
65
	  outer.setSpacing(4);
71
	  outer.setCellWidth(centerPanel, "100%");
66
	  outer.setCellWidth(centerPanel, "85%");
Line 72... Line -...
72
	 
-
 
73
//	  Window.enableScrolling(false);
-
 
74
	  Window.setMargin("0px");
67
	 
Line 75... Line 68...
75
 
68
//	  Window.enableScrolling(false);
Line 76... Line -...
76
	  // Finally, add the outer panel to the RootPanel, so that it will be
-
 
77
	  // displayed.
-
 
78
	  RootPanel.get().add(outer);
-
 
79
 
-
 
80
 
-
 
81
  }
-
 
82
  
-
 
83
  
-
 
84
  public void onWindowResized(int width, int height) {
-
 
85
	    // Adjust the shortcut panel and detail area to take up the available room
-
 
Line 86... Line 69...
86
	    // in the window.
69
	  Window.setMargin("0px");