});
eventBus.addHandler(ShowEntityPopupEvent.TYPE, new ShowEntityPopupEventHandler() {
@Override
public void onShowEntityPopup(ShowEntityPopupEvent event) {
EntityPopupPresenter EntityPopupPresenter = new EntityPopupPresenter(dataModelService, eventBus, new EntityPopupView(event.getEntity().getDisplayName(), event.getClickPoint()), event.getEntity());
EntityPopupPresenter.go();
}
});
eventBus.addHandler(EntityEditEvent.TYPE, new EntityEditEventHandler() {
@Override