public void onFailure(Throwable caught) {
}
public void onSuccess(final List<UserGroup> newgroups) {
AdministratorPanel.this.groups = newgroups;
final BaseTabPanel adminTabPanel = new BaseTabPanel();
adminTabPanel.setWidth("100%");
adminTabPanel.setHeight("100%");
add(adminTabPanel);
editUsersPanel = new EditAccountsPanel(AdministratorPanel.this, groups, users, user);
adminTabPanel.addTab("Accounts", "Accounts", false, editUsersPanel);
editGroupsPanel = new EditGroupsPanel(AdministratorPanel.this, groups, users, user, true, false);
adminTabPanel.addTab("Groups", "Groups", false, editGroupsPanel);
editGroupsMembersPanel = new EditGroupsPanel(AdministratorPanel.this, groups, users, user, false, true);
adminTabPanel.addTab("Groups -> Users", "Groups -> Users", false, editGroupsMembersPanel);
editGroupsForUsersPanel = new EditGroupsForUsersPanel(AdministratorPanel.this, groups, users, user);
adminTabPanel.addTab("Users -> Groups", "Users -> Groups", false, editGroupsForUsersPanel);
referralPanel = new ReferralPanel();
adminTabPanel.addTab("Referrals", "Referrals", false, referralPanel);
hibernateAdminPanel = new HibernateAdminPanel();
adminTabPanel.addTab("Hibernate", "Hibernate", false, hibernateAdminPanel);
hqlPanel = new HQLPanel();
adminTabPanel.addTab("HQL", "HQL", false, hqlPanel);
memoryAdminPanel = new MemoryAdminPanel();
adminTabPanel.addTab("Memory", "Memory", false, memoryAdminPanel);
adminTabPanel.selectTab(0);
};
};
final AsyncCallback<List<User>> callback = new AsyncCallback<List<User>>() {
public void onFailure(Throwable caught) {