});
this.display.getAccountLink().addClickHandler(new ClickHandler() {
public void onClick(ClickEvent event) {
if (Adware.get().getCurrentUser().getAccessLevel() == AccessLevels.Company) {
eventBus.fireEvent(new ProfileEditEvent(Adware.get().getCurrentUser(), EntityTypes.Company));
} else if (Adware.get().getCurrentUser().getAccessLevel() == AccessLevels.Publisher) {
eventBus.fireEvent(new ProfileEditEvent(Adware.get().getCurrentUser(), EntityTypes.Publisher));
} else if (Adware.get().getCurrentUser().getAccessLevel() == AccessLevels.Administrator) {
eventBus.fireEvent(new ProfileEditEvent(Adware.get().getCurrentUser(), EntityTypes.Entity));
}
}
});
// Listen to login events
eventBus.addHandler(LoginEvent.TYPE, new LoginEventHandler() {