16,6 → 16,7 |
private TopPanel topPanel = null; |
private CenterPanel centerPanel = null; |
private LeftPanel leftPanel = null; |
private EntryPanel entryPanel = null; |
|
private Mediator mediator = null; |
|
37,16 → 38,19 |
|
|
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 |
|
topPanel.setWidth("100%"); |
entryPanel.setStyleName("item-Input"); |
|
|
|
// DockPanel permet d'arranger plusieurs panneaux au coins cardinaux, le panneau central remplissant |
// l'espace laissé. |
|
55,6 → 59,7 |
outer.add(topPanel, DockPanel.NORTH); |
outer.add(centerPanel, DockPanel.CENTER); |
outer.add(leftPanel, DockPanel.WEST); |
// outer.add(bottomPanel, DockPanel.SOUTH); |
|
centerPanel.setWidth("100%"); |
// LeftPanel : |
68,12 → 73,18 |
// Window.enableScrolling(false); |
Window.setMargin("0px"); |
|
mediator.onInit(); |
|
entryPanel.show(); |
|
RootPanel.get().add(outer); |
|
|
|
} |
|
|
|
|
|
} |