@Test public void testAppendColumns() { uiModel.appendColumn(gridColumn1); reset(gridColumn1); uiModel.appendColumn(gridColumn2); verify(gridColumn1).setResizable(eq(false)); verify(gridColumn2).setResizable(eq(false)); reset(gridColumn1, gridColumn2); uiModel.appendColumn(gridColumn3); verify(gridColumn1).setResizable(eq(false)); verify(gridColumn2).setResizable(eq(true)); verify(gridColumn3).setResizable(eq(false)); }
@Override public void appendColumn(final GridColumn<?> column) { delegate.appendColumn(column); assertResizableColumns(); }
RelationGridData extends DelegatingGridData { @Override public void appendColumn(final GridColumn<?> column) { delegate.appendColumn(column); assertResizableColumns(); } }
RelationGridData extends DelegatingGridData { @Override public void appendColumn(final GridColumn<?> column) { delegate.appendColumn(column); assertResizableColumns(); } RelationGridData(final DMNGridData delegate,
                            final SessionManager sessionManager,
                            final SessionCommandManager<AbstractCanvasHandler> sessionCommandManager,
                            final Supplier<Optional<Relation>> expression,
                            final Command canvasOperation); }
RelationGridData extends DelegatingGridData { @Override public void appendColumn(final GridColumn<?> column) { delegate.appendColumn(column); assertResizableColumns(); } RelationGridData(final DMNGridData delegate,
                            final SessionManager sessionManager,
                            final SessionCommandManager<AbstractCanvasHandler> sessionCommandManager,
                            final Supplier<Optional<Relation>> expression,
                            final Command canvasOperation); @Override void moveRowTo(final int index,
                          final GridRow row); @Override void moveRowsTo(final int index,
                           final List<GridRow> rows); @Override void moveColumnTo(final int index,
                             final GridColumn<?> column); @Override void moveColumnsTo(final int index,
                              final List<GridColumn<?>> columns); @Override void appendColumn(final GridColumn<?> column); @Override void insertColumn(final int index,
                             final GridColumn<?> column); @Override void deleteColumn(final GridColumn<?> column); }
RelationGridData extends DelegatingGridData { @Override public void appendColumn(final GridColumn<?> column) { delegate.appendColumn(column); assertResizableColumns(); } RelationGridData(final DMNGridData delegate,
                            final SessionManager sessionManager,
                            final SessionCommandManager<AbstractCanvasHandler> sessionCommandManager,
                            final Supplier<Optional<Relation>> expression,
                            final Command canvasOperation); @Override void moveRowTo(final int index,
                          final GridRow row); @Override void moveRowsTo(final int index,
                           final List<GridRow> rows); @Override void moveColumnTo(final int index,
                             final GridColumn<?> column); @Override void moveColumnsTo(final int index,
                              final List<GridColumn<?>> columns); @Override void appendColumn(final GridColumn<?> column); @Override void insertColumn(final int index,
                             final GridColumn<?> column); @Override void deleteColumn(final GridColumn<?> column);  }