return horizontal ? m_layout.getColumns() : m_layout.getRows();
}
public EditPart createHeaderEditPart(boolean horizontal, Object model) {
if (horizontal) {
return new ColumnHeaderEditPart(m_layout, (ColumnInfo) model, getHostFigure());
} else {
return new RowHeaderEditPart(m_layout, (RowInfo) model, getHostFigure());
}
}