Пример #1
0
  /** Causing a change of the database. */
  public void changeDatabase() {
    clearRootLayout();
    Manager.get().reset();
    EventControl.removeAllHandler();

    // LoginBox box = new LoginBox();
    // box.center();
    RootLayoutPanel.get().add(new LoginPanel());
  }
Пример #2
0
 @Override
 public void callback(Object object) {
   addMEController();
   MainLayoutPanel.get().getNorthPanel().updateScenarioList();
   ScenarioManager.get().switchScenario(Manager.get().getAccountDetails().getSelectedScenario());
 }