});
popupMenu.showRelativeTo(helpItem);
}
private void showSignedInPopup() {
PopupMenu popupMenu = new PopupMenu();
popupMenu.addItem("Sign out", new ClickHandler() {
@Override
public void onClick(ClickEvent event) {
signOutRequestHandler.handleSignOutRequest();
}
});
// popupMenu.addItem("Account settings", new ClickHandler() {
// @Override
// public void onClick(ClickEvent event) {
// showAccountSettingsHandler.handleShowAccountSettings();
// }
// });
popupMenu.addItem("Change password", new ClickHandler() {
@Override
public void onClick(ClickEvent event) {
changePasswordHandler.handleChangePassword();
}
});
popupMenu.addItem("Change email address", new ClickHandler() {
@Override
public void onClick(ClickEvent event) {
changeEmailAddressHandler.handleChangeEmailAddress();
}
});
popupMenu.showRelativeTo(userNameItem);
}