// Row 0 (General\Fact Type)
// General row, all visible cells included
int iRow0ColColumn = 0;
for ( int iCol = 0; iCol < widget.visibleCols.size(); iCol++ ) {
DynamicColumn<BaseColumn> col = widget.visibleCols.get( iCol );
BaseColumn modelCol = col.getModelColumn();
// Merging
int colSpan = 1;
int width = col.getWidth();
if ( modelCol instanceof BRLVariableColumn ) {
BRLVariableColumn brlColumn = (BRLVariableColumn) col.getModelColumn();
BRLColumn<?, ?> brlColumnParent = model.getBRLColumn( brlColumn );
while ( iCol + colSpan < widget.visibleCols.size() ) {
DynamicColumn<BaseColumn> mergeCol = widget.visibleCols.get( iCol + colSpan );
BaseColumn mergeModelCol = mergeCol.getModelColumn();
if ( !( mergeModelCol instanceof BRLVariableColumn ) ) {
break;
}
BRLVariableColumn mergeBRLColumn = (BRLVariableColumn) mergeModelCol;
BRLColumn<?, ?> mergeBRLColumnParent = model.getBRLColumn( mergeBRLColumn );