@Test public void testShowWhenBound() { popover.bind(undefinedExpressionGrid, 0, 0); popover.show(); verify(view).show(eq(Optional.ofNullable(popover.getPopoverTitle()))); }
@Override public String getPopoverTitle() { return translationService.getTranslation(DMNEditorConstants.UndefinedExpressionEditor_SelectorTitle); }
UndefinedExpressionSelectorPopoverImpl extends AbstractPopoverImpl<UndefinedExpressionSelectorPopoverView, UndefinedExpressionGrid> implements UndefinedExpressionSelectorPopoverView.Presenter { @Override public String getPopoverTitle() { return translationService.getTranslation(DMNEditorConstants.UndefinedExpressionEditor_SelectorTitle); } }
UndefinedExpressionSelectorPopoverImpl extends AbstractPopoverImpl<UndefinedExpressionSelectorPopoverView, UndefinedExpressionGrid> implements UndefinedExpressionSelectorPopoverView.Presenter { @Override public String getPopoverTitle() { return translationService.getTranslation(DMNEditorConstants.UndefinedExpressionEditor_SelectorTitle); } UndefinedExpressionSelectorPopoverImpl(); @Inject  UndefinedExpressionSelectorPopoverImpl(final UndefinedExpressionSelectorPopoverView view,
                                                  final TranslationService translationService,
                                                  final @DMNEditor Supplier<ExpressionEditorDefinitions> expressionEditorDefinitionsSupplier); }
UndefinedExpressionSelectorPopoverImpl extends AbstractPopoverImpl<UndefinedExpressionSelectorPopoverView, UndefinedExpressionGrid> implements UndefinedExpressionSelectorPopoverView.Presenter { @Override public String getPopoverTitle() { return translationService.getTranslation(DMNEditorConstants.UndefinedExpressionEditor_SelectorTitle); } UndefinedExpressionSelectorPopoverImpl(); @Inject  UndefinedExpressionSelectorPopoverImpl(final UndefinedExpressionSelectorPopoverView view,
                                                  final TranslationService translationService,
                                                  final @DMNEditor Supplier<ExpressionEditorDefinitions> expressionEditorDefinitionsSupplier); @Override void onExpressionEditorDefinitionSelected(final ExpressionEditorDefinition definition); @Override String getPopoverTitle(); }
UndefinedExpressionSelectorPopoverImpl extends AbstractPopoverImpl<UndefinedExpressionSelectorPopoverView, UndefinedExpressionGrid> implements UndefinedExpressionSelectorPopoverView.Presenter { @Override public String getPopoverTitle() { return translationService.getTranslation(DMNEditorConstants.UndefinedExpressionEditor_SelectorTitle); } UndefinedExpressionSelectorPopoverImpl(); @Inject  UndefinedExpressionSelectorPopoverImpl(final UndefinedExpressionSelectorPopoverView view,
                                                  final TranslationService translationService,
                                                  final @DMNEditor Supplier<ExpressionEditorDefinitions> expressionEditorDefinitionsSupplier); @Override void onExpressionEditorDefinitionSelected(final ExpressionEditorDefinition definition); @Override String getPopoverTitle();  }