use of org.olat.ims.qti21.ui.assessment.CorrectionIdentityAssessmentItemTableModel.IdentityItemCols in project OpenOLAT by OpenOLAT.
the class CorrectionIdentityAssessmentItemTableSort method sort.
@Override
protected void sort(List<CorrectionIdentityAssessmentItemRow> rows) {
int columnIndex = getColumnIndex();
IdentityItemCols column = IdentityItemCols.values()[columnIndex];
switch(column) {
case itemType:
Collections.sort(rows, new QuestionTypeComparator());
break;
case corrected:
Collections.sort(rows, new CorrectedComparator());
break;
case notCorrected:
Collections.sort(rows, new NotCorrectedComparator());
break;
default:
super.sort(rows);
}
}
use of org.olat.ims.qti21.ui.assessment.CorrectionIdentityAssessmentItemTableModel.IdentityItemCols in project openolat by klemens.
the class CorrectionIdentityAssessmentItemTableSort method sort.
@Override
protected void sort(List<CorrectionIdentityAssessmentItemRow> rows) {
int columnIndex = getColumnIndex();
IdentityItemCols column = IdentityItemCols.values()[columnIndex];
switch(column) {
case itemType:
Collections.sort(rows, new QuestionTypeComparator());
break;
case corrected:
Collections.sort(rows, new CorrectedComparator());
break;
case notCorrected:
Collections.sort(rows, new NotCorrectedComparator());
break;
default:
super.sort(rows);
}
}
Aggregations