@Test public void testGetPopoverTitle() { mockEditAction(); final HasValueAndTypeRef<Name> hasValueAndTypeRef = hasNameAndDataTypeControlCaptor.getValue(); assertThat(hasValueAndTypeRef.getPopoverTitle()).isEqualTo(POPOVER_TITLE); }
protected abstract String getPopoverTitle();
EditableNameAndDataTypeColumn extends DMNSimpleGridColumn<G, InformationItemCell.HasNameCell> { protected abstract String getPopoverTitle(); }
EditableNameAndDataTypeColumn extends DMNSimpleGridColumn<G, InformationItemCell.HasNameCell> { protected abstract String getPopoverTitle(); EditableNameAndDataTypeColumn(final HeaderMetaData headerMetaData,
                                         final double width,
                                         final G gridWidget,
                                         final Predicate<Integer> isEditable,
                                         final Consumer<HasName> clearValueConsumer,
                                         final BiConsumer<HasName, Name> setValueConsumer,
                                         final BiConsumer<HasTypeRef, QName> setTypeRefConsumer,
                                         final TranslationService translationService,
                                         final CellEditorControlsView.Presenter cellEditorControls,
                                         final ValueAndDataTypePopoverView.Presenter editor);  EditableNameAndDataTypeColumn(final List<HeaderMetaData> headerMetaData,
                                         final double width,
                                         final G gridWidget,
                                         final Predicate<Integer> isEditable,
                                         final Consumer<HasName> clearValueConsumer,
                                         final BiConsumer<HasName, Name> setValueConsumer,
                                         final BiConsumer<HasTypeRef, QName> setTypeRefConsumer,
                                         final TranslationService translationService,
                                         final CellEditorControlsView.Presenter cellEditorControls,
                                         final ValueAndDataTypePopoverView.Presenter editor); }
EditableNameAndDataTypeColumn extends DMNSimpleGridColumn<G, InformationItemCell.HasNameCell> { protected abstract String getPopoverTitle(); EditableNameAndDataTypeColumn(final HeaderMetaData headerMetaData,
                                         final double width,
                                         final G gridWidget,
                                         final Predicate<Integer> isEditable,
                                         final Consumer<HasName> clearValueConsumer,
                                         final BiConsumer<HasName, Name> setValueConsumer,
                                         final BiConsumer<HasTypeRef, QName> setTypeRefConsumer,
                                         final TranslationService translationService,
                                         final CellEditorControlsView.Presenter cellEditorControls,
                                         final ValueAndDataTypePopoverView.Presenter editor);  EditableNameAndDataTypeColumn(final List<HeaderMetaData> headerMetaData,
                                         final double width,
                                         final G gridWidget,
                                         final Predicate<Integer> isEditable,
                                         final Consumer<HasName> clearValueConsumer,
                                         final BiConsumer<HasName, Name> setValueConsumer,
                                         final BiConsumer<HasTypeRef, QName> setTypeRefConsumer,
                                         final TranslationService translationService,
                                         final CellEditorControlsView.Presenter cellEditorControls,
                                         final ValueAndDataTypePopoverView.Presenter editor); @Override void edit(final GridCell<InformationItemCell.HasNameCell> cell,
                     final GridBodyCellRenderContext context,
                     final Consumer<GridCellValue<InformationItemCell.HasNameCell>> callback); @Override void setWidth(final double width); }
EditableNameAndDataTypeColumn extends DMNSimpleGridColumn<G, InformationItemCell.HasNameCell> { protected abstract String getPopoverTitle(); EditableNameAndDataTypeColumn(final HeaderMetaData headerMetaData,
                                         final double width,
                                         final G gridWidget,
                                         final Predicate<Integer> isEditable,
                                         final Consumer<HasName> clearValueConsumer,
                                         final BiConsumer<HasName, Name> setValueConsumer,
                                         final BiConsumer<HasTypeRef, QName> setTypeRefConsumer,
                                         final TranslationService translationService,
                                         final CellEditorControlsView.Presenter cellEditorControls,
                                         final ValueAndDataTypePopoverView.Presenter editor);  EditableNameAndDataTypeColumn(final List<HeaderMetaData> headerMetaData,
                                         final double width,
                                         final G gridWidget,
                                         final Predicate<Integer> isEditable,
                                         final Consumer<HasName> clearValueConsumer,
                                         final BiConsumer<HasName, Name> setValueConsumer,
                                         final BiConsumer<HasTypeRef, QName> setTypeRefConsumer,
                                         final TranslationService translationService,
                                         final CellEditorControlsView.Presenter cellEditorControls,
                                         final ValueAndDataTypePopoverView.Presenter editor); @Override void edit(final GridCell<InformationItemCell.HasNameCell> cell,
                     final GridBodyCellRenderContext context,
                     final Consumer<GridCellValue<InformationItemCell.HasNameCell>> callback); @Override void setWidth(final double width);  }