EntityPopupPresenter EntityPopupPresenter = new EntityPopupPresenter(dataModelService, eventBus, new EntityPopupView(event.getEntity().getDisplayName(), event.getClickPoint()), event.getEntity());
EntityPopupPresenter.go();
}
});
eventBus.addHandler(EntityEditEvent.TYPE, new EntityEditEventHandler() {
@Override
public void onEditEntity(EntityEditEvent event) {
if (event.getEntityType() == EntityTypes.Company) {
AppController.this.currentCompanyId = event.getEntity().getId();
gotoEditCompany();