Subversion Repositories eFlore/Archives.cel-v1

Rev

Rev 10 | Go to most recent revision | Show entire file | Ignore 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>.
-
 
Line 16... Line 11...
16
 */
11
 * Entry point classes define <code>onModuleLoad()</code>.
17
public class Cel implements EntryPoint {
12
 */
18
 
13
public class Cel implements EntryPoint {
19
 
14
 
20
  
15
  
21
  private TopPanel topPanel = null;
16
  private TopPanel topPanel = null;
Line 22... Line 17...
22
  private CenterPanel centerPanel = null;
17
  private CenterPanel centerPanel = null;
23
  private LeftPanel leftPanel = null;
18
  private LeftPanel leftPanel = null;
24
 
19
  
25
  private Mediator mediator = null;
20
  private Mediator mediator = null;
Line 26... Line 21...
26
 
21
  
27
 
22
 
28
  /**
23
  /**
Line 29... Line 24...
29
   * This is the entry point method.
24
   * This is the entry point method.
Line 30... Line 25...
30
   */
25
   */
Line 31... Line -...
31
  public void onModuleLoad() {
-
 
32
 
26
  public void onModuleLoad() {
-
 
27
 
33
 
28
 
Line 34... Line 29...
34
	 mediator= new Mediator();
29
	 mediator= new Mediator();
35
	 mediator.registerCel(this);
30
	 mediator.registerCel(this);
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");