Search in sources :

Example 6 with SelectAssessmentItemEvent

use of org.olat.ims.qti21.ui.assessment.event.SelectAssessmentItemEvent in project openolat by klemens.

the class CorrectionIdentityAssessmentItemNavigationController method doSelectByIndex.

private void doSelectByIndex(UserRequest ureq, int index) {
    List<? extends AssessmentItemListEntry> assessmentEntryList = getAssessmentEntryList();
    if (index >= 0 && index < assessmentEntryList.size()) {
        AssessmentItemListEntry nextEntry = assessmentEntryList.get(index);
        fireEvent(ureq, new SelectAssessmentItemEvent(nextEntry));
    }
}
Also used : SelectAssessmentItemEvent(org.olat.ims.qti21.ui.assessment.event.SelectAssessmentItemEvent) AssessmentItemListEntry(org.olat.ims.qti21.ui.assessment.model.AssessmentItemListEntry)

Aggregations

SelectAssessmentItemEvent (org.olat.ims.qti21.ui.assessment.event.SelectAssessmentItemEvent)6 AssessmentItemListEntry (org.olat.ims.qti21.ui.assessment.model.AssessmentItemListEntry)6