new ExpressionTableColumn(
"Verbosity",
"@org.apache.tapestry.workbench.table.VerbosityRating@calculateVerbosity(#this)",
true);
Block objVerbosityBlock = (Block) getComponent("blockVerbosity");
ITableRendererSource objVerbosityRenderer = new BlockTableRendererSource(objVerbosityBlock);
objVerbosityColumn.setValueRendererSource(objVerbosityRenderer);
// The renderer of the column is defined in a Block and contains a link
SimpleTableColumn objDeleteColumn = new SimpleTableColumn("");
Block objDeleteBlock = (Block) getComponent("blockDelete");
ITableRendererSource objDeleteRenderer = new BlockTableRendererSource(objDeleteBlock);
objDeleteColumn.setValueRendererSource(objDeleteRenderer);
// Create the column model out of the above columns
return new SimpleTableColumnModel(
new ITableColumn[] {