@Test public void testShowWhenBound() { popover.bind(hasKindSelectorControl, 0, 0); popover.show(); verify(view).show(Optional.ofNullable(popover.getPopoverTitle())); }
@Override public String getPopoverTitle() { return translationService.getTranslation(DMNEditorConstants.FunctionEditor_SelectFunctionKind); }
KindPopoverImpl extends AbstractPopoverImpl<KindPopoverView, HasKindSelectControl> implements KindPopoverView.Presenter { @Override public String getPopoverTitle() { return translationService.getTranslation(DMNEditorConstants.FunctionEditor_SelectFunctionKind); } }
KindPopoverImpl extends AbstractPopoverImpl<KindPopoverView, HasKindSelectControl> implements KindPopoverView.Presenter { @Override public String getPopoverTitle() { return translationService.getTranslation(DMNEditorConstants.FunctionEditor_SelectFunctionKind); } KindPopoverImpl(); @Inject  KindPopoverImpl(final KindPopoverView view,
                           final TranslationService translationService); }
KindPopoverImpl extends AbstractPopoverImpl<KindPopoverView, HasKindSelectControl> implements KindPopoverView.Presenter { @Override public String getPopoverTitle() { return translationService.getTranslation(DMNEditorConstants.FunctionEditor_SelectFunctionKind); } KindPopoverImpl(); @Inject  KindPopoverImpl(final KindPopoverView view,
                           final TranslationService translationService); @Override String getPopoverTitle(); @Override void onFunctionKindSelected(final FunctionDefinition.Kind kind); }
KindPopoverImpl extends AbstractPopoverImpl<KindPopoverView, HasKindSelectControl> implements KindPopoverView.Presenter { @Override public String getPopoverTitle() { return translationService.getTranslation(DMNEditorConstants.FunctionEditor_SelectFunctionKind); } KindPopoverImpl(); @Inject  KindPopoverImpl(final KindPopoverView view,
                           final TranslationService translationService); @Override String getPopoverTitle(); @Override void onFunctionKindSelected(final FunctionDefinition.Kind kind);  }