use of org.olat.ims.qti21.ui.statistics.QTI21StatisticsToolController in project openolat by klemens.
the class IQIdentityListCourseNodeController method doLaunchStatistics.
private void doLaunchStatistics(UserRequest ureq) {
Controller statisticsCtrl;
RepositoryEntry testEntry = getReferencedRepositoryEntry();
if (ImsQTI21Resource.TYPE_NAME.equals(testEntry.getOlatResource().getResourceableTypeName())) {
statisticsCtrl = new QTI21StatisticsToolController(ureq, getWindowControl(), stackPanel, getCourseEnvironment(), getOptions(), (IQTESTCourseNode) courseNode);
} else {
statisticsCtrl = new QTI12StatisticsToolController(ureq, getWindowControl(), stackPanel, getCourseEnvironment(), getOptions(), (IQTESTCourseNode) courseNode);
}
listenTo(statisticsCtrl);
stackPanel.pushController(translate("button.stats"), statisticsCtrl);
}
use of org.olat.ims.qti21.ui.statistics.QTI21StatisticsToolController in project OpenOLAT by OpenOLAT.
the class IQIdentityListCourseNodeController method doLaunchStatistics.
private void doLaunchStatistics(UserRequest ureq) {
Controller statisticsCtrl;
RepositoryEntry testEntry = getReferencedRepositoryEntry();
if (ImsQTI21Resource.TYPE_NAME.equals(testEntry.getOlatResource().getResourceableTypeName())) {
statisticsCtrl = new QTI21StatisticsToolController(ureq, getWindowControl(), stackPanel, getCourseEnvironment(), getOptions(), (IQTESTCourseNode) courseNode);
} else {
statisticsCtrl = new QTI12StatisticsToolController(ureq, getWindowControl(), stackPanel, getCourseEnvironment(), getOptions(), (IQTESTCourseNode) courseNode);
}
listenTo(statisticsCtrl);
stackPanel.pushController(translate("button.stats"), statisticsCtrl);
}
Aggregations