@Test @SuppressWarnings("unchecked") public void testBindNullControl() { presenter.bind(null, ROW_INDEX, COLUMN_INDEX); verify(view, never()).setParameters(anyList()); }
@Override public void bind(final HasParametersControl bound, final int uiRowIndex, final int uiColumnIndex) { super.bind(bound, uiRowIndex, uiColumnIndex); binding.ifPresent(b -> view.setParameters(b.getParameters())); }
ParametersPopoverImpl extends AbstractPopoverImpl<ParametersPopoverView, HasParametersControl> implements ParametersPopoverView.Presenter { @Override public void bind(final HasParametersControl bound, final int uiRowIndex, final int uiColumnIndex) { super.bind(bound, uiRowIndex, uiColumnIndex); binding.ifPresent(b -> view.setParameters(b.getParameters())); } }
ParametersPopoverImpl extends AbstractPopoverImpl<ParametersPopoverView, HasParametersControl> implements ParametersPopoverView.Presenter { @Override public void bind(final HasParametersControl bound, final int uiRowIndex, final int uiColumnIndex) { super.bind(bound, uiRowIndex, uiColumnIndex); binding.ifPresent(b -> view.setParameters(b.getParameters())); } ParametersPopoverImpl(); @Inject  ParametersPopoverImpl(final ParametersPopoverView view,
                                 final TranslationService translationService); }
ParametersPopoverImpl extends AbstractPopoverImpl<ParametersPopoverView, HasParametersControl> implements ParametersPopoverView.Presenter { @Override public void bind(final HasParametersControl bound, final int uiRowIndex, final int uiColumnIndex) { super.bind(bound, uiRowIndex, uiColumnIndex); binding.ifPresent(b -> view.setParameters(b.getParameters())); } ParametersPopoverImpl(); @Inject  ParametersPopoverImpl(final ParametersPopoverView view,
                                 final TranslationService translationService); @Override String getPopoverTitle(); @Override void bind(final HasParametersControl bound,
                     final int uiRowIndex,
                     final int uiColumnIndex); @Override void show(); @Override void addParameter(); @Override void removeParameter(final InformationItem parameter); @Override void updateParameterName(final InformationItem parameter,
                                    final String name); @Override void updateParameterTypeRef(final InformationItem parameter,
                                       final QName typeRef); }
ParametersPopoverImpl extends AbstractPopoverImpl<ParametersPopoverView, HasParametersControl> implements ParametersPopoverView.Presenter { @Override public void bind(final HasParametersControl bound, final int uiRowIndex, final int uiColumnIndex) { super.bind(bound, uiRowIndex, uiColumnIndex); binding.ifPresent(b -> view.setParameters(b.getParameters())); } ParametersPopoverImpl(); @Inject  ParametersPopoverImpl(final ParametersPopoverView view,
                                 final TranslationService translationService); @Override String getPopoverTitle(); @Override void bind(final HasParametersControl bound,
                     final int uiRowIndex,
                     final int uiColumnIndex); @Override void show(); @Override void addParameter(); @Override void removeParameter(final InformationItem parameter); @Override void updateParameterName(final InformationItem parameter,
                                    final String name); @Override void updateParameterTypeRef(final InformationItem parameter,
                                       final QName typeRef);  }