((WPalo) Registry.get(WPalo.ID)).show(viewport);
}
private final void fillViewPanelStatusLine() {
Hyperlink logout = new Hyperlink("Logout");
logout.addListener(new OnClickListener() {
public void clicked(ComponentEvent ce) {
logout();
}
});
viewpanelStatusLine.add(logout);
if (user.isAdmin()) {
Hyperlink viewMode = new Hyperlink("Admin Mode");
viewMode.addListener(new OnClickListener(){
public void clicked(ComponentEvent ce) {
openAdminMode();
}
});
viewpanelStatusLine.add(viewMode);