@Test public void testOnConstraintsClick() { view.onConstraintsClick(mock(ClickEvent.class)); verify(presenter).openModal(); }
@EventHandler("constraints-anchor-container") public void onConstraintsClick(final ClickEvent e) { presenter.openModal(); }
DataTypeConstraintView implements DataTypeConstraint.View { @EventHandler("constraints-anchor-container") public void onConstraintsClick(final ClickEvent e) { presenter.openModal(); } }
DataTypeConstraintView implements DataTypeConstraint.View { @EventHandler("constraints-anchor-container") public void onConstraintsClick(final ClickEvent e) { presenter.openModal(); } @Inject  DataTypeConstraintView(final HTMLAnchorElement constraintsAnchorContainer,
                                  final HTMLDivElement constraintsLabelContainer,
                                  final @Named("span") HTMLElement constraintsAnchorText,
                                  final @Named("span") HTMLElement constraintsLabelText,
                                  final @Named("span") HTMLElement constraintsTooltip,
                                  final TranslationService translationService); }
DataTypeConstraintView implements DataTypeConstraint.View { @EventHandler("constraints-anchor-container") public void onConstraintsClick(final ClickEvent e) { presenter.openModal(); } @Inject  DataTypeConstraintView(final HTMLAnchorElement constraintsAnchorContainer,
                                  final HTMLDivElement constraintsLabelContainer,
                                  final @Named("span") HTMLElement constraintsAnchorText,
                                  final @Named("span") HTMLElement constraintsLabelText,
                                  final @Named("span") HTMLElement constraintsTooltip,
                                  final TranslationService translationService); @Override void init(final DataTypeConstraint presenter); @PostConstruct void setup(); @EventHandler("constraints-anchor-container") void onConstraintsClick(final ClickEvent e); @Override void showAnchor(); @Override void hideAnchor(); @Override void setText(final String text); @Override void enable(); @Override void disable(); }
DataTypeConstraintView implements DataTypeConstraint.View { @EventHandler("constraints-anchor-container") public void onConstraintsClick(final ClickEvent e) { presenter.openModal(); } @Inject  DataTypeConstraintView(final HTMLAnchorElement constraintsAnchorContainer,
                                  final HTMLDivElement constraintsLabelContainer,
                                  final @Named("span") HTMLElement constraintsAnchorText,
                                  final @Named("span") HTMLElement constraintsLabelText,
                                  final @Named("span") HTMLElement constraintsTooltip,
                                  final TranslationService translationService); @Override void init(final DataTypeConstraint presenter); @PostConstruct void setup(); @EventHandler("constraints-anchor-container") void onConstraintsClick(final ClickEvent e); @Override void showAnchor(); @Override void hideAnchor(); @Override void setText(final String text); @Override void enable(); @Override void disable();  }