Search in sources :

Example 1 with ABGCols

use of org.olat.course.assessment.ui.tool.AssessedBusinessGroupTableModel.ABGCols in project OpenOLAT by OpenOLAT.

the class AssessedBusinessGroupSorter method sort.

@Override
protected void sort(List<AssessedBusinessGroup> rows) {
    int columnIndex = getColumnIndex();
    ABGCols column = ABGCols.values()[columnIndex];
    switch(column) {
        case countPassed:
            Collections.sort(rows, new CountPassedComparator());
            break;
        default:
            {
                super.sort(rows);
            }
    }
}
Also used : ABGCols(org.olat.course.assessment.ui.tool.AssessedBusinessGroupTableModel.ABGCols)

Example 2 with ABGCols

use of org.olat.course.assessment.ui.tool.AssessedBusinessGroupTableModel.ABGCols in project openolat by klemens.

the class AssessedBusinessGroupSorter method sort.

@Override
protected void sort(List<AssessedBusinessGroup> rows) {
    int columnIndex = getColumnIndex();
    ABGCols column = ABGCols.values()[columnIndex];
    switch(column) {
        case countPassed:
            Collections.sort(rows, new CountPassedComparator());
            break;
        default:
            {
                super.sort(rows);
            }
    }
}
Also used : ABGCols(org.olat.course.assessment.ui.tool.AssessedBusinessGroupTableModel.ABGCols)

Aggregations

ABGCols (org.olat.course.assessment.ui.tool.AssessedBusinessGroupTableModel.ABGCols)2