/** 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()); }
@Override public void callback(Object object) { addMEController(); MainLayoutPanel.get().getNorthPanel().updateScenarioList(); ScenarioManager.get().switchScenario(Manager.get().getAccountDetails().getSelectedScenario()); }