@Test public void testOnClickReturnToDRG() { drdNameChangerView.onClickReturnToDRG(clickEvent); verify(selectedEvent, times(1)).fire(any(DMNDiagramSelected.class)); }
@EventHandler("returnToDRG") void onClickReturnToDRG(final ClickEvent event) { hideDRDNameChanger(); selectedEvent.fire(new DMNDiagramSelected(dmnDiagramsSession.getDRGDiagramElement())); }
DRDNameChangerView implements DRDNameChanger { @EventHandler("returnToDRG") void onClickReturnToDRG(final ClickEvent event) { hideDRDNameChanger(); selectedEvent.fire(new DMNDiagramSelected(dmnDiagramsSession.getDRGDiagramElement())); } }
DRDNameChangerView implements DRDNameChanger { @EventHandler("returnToDRG") void onClickReturnToDRG(final ClickEvent event) { hideDRDNameChanger(); selectedEvent.fire(new DMNDiagramSelected(dmnDiagramsSession.getDRGDiagramElement())); } @Inject  DRDNameChangerView(final DMNDiagramsSession dmnDiagramsSession, final Event<DMNDiagramSelected> selectedEvent, final DivElement viewMode, final DivElement editMode, final HTMLAnchorElement returnToDRG, final Span drdName, final InputElement drdNameInput); }
DRDNameChangerView implements DRDNameChanger { @EventHandler("returnToDRG") void onClickReturnToDRG(final ClickEvent event) { hideDRDNameChanger(); selectedEvent.fire(new DMNDiagramSelected(dmnDiagramsSession.getDRGDiagramElement())); } @Inject  DRDNameChangerView(final DMNDiagramsSession dmnDiagramsSession, final Event<DMNDiagramSelected> selectedEvent, final DivElement viewMode, final DivElement editMode, final HTMLAnchorElement returnToDRG, final Span drdName, final InputElement drdNameInput); @Override void setSessionPresenterView(SessionPresenter.View sessionPresenterView); @Override void showDRDNameChanger(); @Override void hideDRDNameChanger(); }
DRDNameChangerView implements DRDNameChanger { @EventHandler("returnToDRG") void onClickReturnToDRG(final ClickEvent event) { hideDRDNameChanger(); selectedEvent.fire(new DMNDiagramSelected(dmnDiagramsSession.getDRGDiagramElement())); } @Inject  DRDNameChangerView(final DMNDiagramsSession dmnDiagramsSession, final Event<DMNDiagramSelected> selectedEvent, final DivElement viewMode, final DivElement editMode, final HTMLAnchorElement returnToDRG, final Span drdName, final InputElement drdNameInput); @Override void setSessionPresenterView(SessionPresenter.View sessionPresenterView); @Override void showDRDNameChanger(); @Override void hideDRDNameChanger();  }