public void onAddFriend(FriendAddEvent event) {
doAddNewFriend();
}
});
eventBus.addHandler(ShowFriendPopupEvent.TYPE, new ShowFriendPopupEventHandler() {
public void onShowFriendPopup(ShowFriendPopupEvent event) {
FriendPopupPresenter friendPopupPresenter = new FriendPopupPresenter(friendService, eventBus,
new FriendPopupView(event.getFriend().getDisplayName(), event.getClickPoint()), event.getFriend());
friendPopupPresenter.go();
}