@Test public void testAppend() throws VetoException { final ActionWorkItemCol52 column = new ActionWorkItemCol52(); column.setHeader("col1"); modelSynchronizer.appendColumn(column); assertEquals(1, model.getActionCols().size()); assertEquals(4, uiModel.getColumns().size()); assertTrue(uiModel.getColumns().get(3) instanceof BooleanUiColumn); assertEquals(true, ((BaseMultipleDOMElementUiColumn) uiModel.getColumns().get(3)).isEditable()); }
@Override public void append(final ColumnMetaData metaData) throws VetoException { if (!handlesAppend(metaData)) { return; } final ActionCol52 column = (ActionCol52) metaData.getColumn(); model.getActionCols().add(column); synchroniseAppendColumn(column); }
ActionWorkItemExecuteColumnSynchronizer extends ActionColumnSynchronizer { @Override public void append(final ColumnMetaData metaData) throws VetoException { if (!handlesAppend(metaData)) { return; } final ActionCol52 column = (ActionCol52) metaData.getColumn(); model.getActionCols().add(column); synchroniseAppendColumn(column); } }
ActionWorkItemExecuteColumnSynchronizer extends ActionColumnSynchronizer { @Override public void append(final ColumnMetaData metaData) throws VetoException { if (!handlesAppend(metaData)) { return; } final ActionCol52 column = (ActionCol52) metaData.getColumn(); model.getActionCols().add(column); synchroniseAppendColumn(column); }  }
ActionWorkItemExecuteColumnSynchronizer extends ActionColumnSynchronizer { @Override public void append(final ColumnMetaData metaData) throws VetoException { if (!handlesAppend(metaData)) { return; } final ActionCol52 column = (ActionCol52) metaData.getColumn(); model.getActionCols().add(column); synchroniseAppendColumn(column); }  @Override int priority(); @Override boolean handlesAppend(final MetaData metaData); @Override void append(final ColumnMetaData metaData); @Override boolean handlesUpdate(final MetaData metaData); @Override List<BaseColumnFieldDiff> update(final ColumnMetaData originalMetaData,
                                            final ColumnMetaData editedMetaData); @Override boolean handlesMoveColumnsTo(final List<? extends MetaData> metaData); }
ActionWorkItemExecuteColumnSynchronizer extends ActionColumnSynchronizer { @Override public void append(final ColumnMetaData metaData) throws VetoException { if (!handlesAppend(metaData)) { return; } final ActionCol52 column = (ActionCol52) metaData.getColumn(); model.getActionCols().add(column); synchroniseAppendColumn(column); }  @Override int priority(); @Override boolean handlesAppend(final MetaData metaData); @Override void append(final ColumnMetaData metaData); @Override boolean handlesUpdate(final MetaData metaData); @Override List<BaseColumnFieldDiff> update(final ColumnMetaData originalMetaData,
                                            final ColumnMetaData editedMetaData); @Override boolean handlesMoveColumnsTo(final List<? extends MetaData> metaData);  }