16,11 → 16,10 |
private TopPanel topPanel = null; |
private CenterPanel centerPanel = null; |
private LeftPanel leftPanel = null; |
private EntryPanel entryPanel = null; |
|
private Mediator mediator = null; |
|
|
|
/** |
* This is the entry point method. |
*/ |
38,17 → 37,14 |
|
|
centerPanel = new CenterPanel(mediator); |
|
topPanel = new TopPanel(mediator); |
leftPanel = new LeftPanel(mediator); |
|
entryPanel = new EntryPanel(mediator); |
|
// Information haut de page (nom application, connexion ... etc). |
// A regler |
|
entryPanel.setStyleName("item-Input"); |
|
topPanel.setWidth("100%"); |
|
|
// DockPanel permet d'arranger plusieurs panneaux au coins cardinaux, le panneau central remplissant |
59,7 → 55,6 |
outer.add(topPanel, DockPanel.NORTH); |
outer.add(centerPanel, DockPanel.CENTER); |
outer.add(leftPanel, DockPanel.WEST); |
// outer.add(bottomPanel, DockPanel.SOUTH); |
|
centerPanel.setWidth("100%"); |
// LeftPanel : |
73,18 → 68,12 |
// Window.enableScrolling(false); |
Window.setMargin("0px"); |
|
mediator.onInit(); |
|
entryPanel.show(); |
|
RootPanel.get().add(outer); |
|
|
|
} |
|
|
|
|
|
} |