Search in sources :

Example 1 with QTI12StatisticsToolController

use of org.olat.ims.qti.statistics.ui.QTI12StatisticsToolController 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);
}
Also used : IQTESTCourseNode(org.olat.course.nodes.IQTESTCourseNode) QTI12StatisticsToolController(org.olat.ims.qti.statistics.ui.QTI12StatisticsToolController) QTI21StatisticsToolController(org.olat.ims.qti21.ui.statistics.QTI21StatisticsToolController) RepositoryEntry(org.olat.repository.RepositoryEntry) QTI21RetrieveTestsController(org.olat.ims.qti21.ui.QTI21RetrieveTestsController) QTI21ResetDataController(org.olat.ims.qti21.ui.QTI21ResetDataController) CloseableModalController(org.olat.core.gui.control.generic.closablewrapper.CloseableModalController) IdentityListCourseNodeToolsController(org.olat.course.assessment.ui.tool.IdentityListCourseNodeToolsController) QTI21StatisticsToolController(org.olat.ims.qti21.ui.statistics.QTI21StatisticsToolController) IdentityListCourseNodeController(org.olat.course.assessment.ui.tool.IdentityListCourseNodeController) QTI12PullTestsToolController(org.olat.ims.qti.statistics.ui.QTI12PullTestsToolController) CorrectionOverviewController(org.olat.ims.qti21.ui.assessment.CorrectionOverviewController) QTI12StatisticsToolController(org.olat.ims.qti.statistics.ui.QTI12StatisticsToolController) ValidationXmlSignatureController(org.olat.ims.qti21.ui.assessment.ValidationXmlSignatureController) Controller(org.olat.core.gui.control.Controller)

Example 2 with QTI12StatisticsToolController

use of org.olat.ims.qti.statistics.ui.QTI12StatisticsToolController 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);
}
Also used : IQTESTCourseNode(org.olat.course.nodes.IQTESTCourseNode) QTI12StatisticsToolController(org.olat.ims.qti.statistics.ui.QTI12StatisticsToolController) QTI21StatisticsToolController(org.olat.ims.qti21.ui.statistics.QTI21StatisticsToolController) RepositoryEntry(org.olat.repository.RepositoryEntry) QTI21RetrieveTestsController(org.olat.ims.qti21.ui.QTI21RetrieveTestsController) QTI21ResetDataController(org.olat.ims.qti21.ui.QTI21ResetDataController) CloseableModalController(org.olat.core.gui.control.generic.closablewrapper.CloseableModalController) IdentityListCourseNodeToolsController(org.olat.course.assessment.ui.tool.IdentityListCourseNodeToolsController) QTI21StatisticsToolController(org.olat.ims.qti21.ui.statistics.QTI21StatisticsToolController) IdentityListCourseNodeController(org.olat.course.assessment.ui.tool.IdentityListCourseNodeController) QTI12PullTestsToolController(org.olat.ims.qti.statistics.ui.QTI12PullTestsToolController) CorrectionOverviewController(org.olat.ims.qti21.ui.assessment.CorrectionOverviewController) QTI12StatisticsToolController(org.olat.ims.qti.statistics.ui.QTI12StatisticsToolController) ValidationXmlSignatureController(org.olat.ims.qti21.ui.assessment.ValidationXmlSignatureController) Controller(org.olat.core.gui.control.Controller)

Aggregations

Controller (org.olat.core.gui.control.Controller)2 CloseableModalController (org.olat.core.gui.control.generic.closablewrapper.CloseableModalController)2 IdentityListCourseNodeController (org.olat.course.assessment.ui.tool.IdentityListCourseNodeController)2 IdentityListCourseNodeToolsController (org.olat.course.assessment.ui.tool.IdentityListCourseNodeToolsController)2 IQTESTCourseNode (org.olat.course.nodes.IQTESTCourseNode)2 QTI12PullTestsToolController (org.olat.ims.qti.statistics.ui.QTI12PullTestsToolController)2 QTI12StatisticsToolController (org.olat.ims.qti.statistics.ui.QTI12StatisticsToolController)2 QTI21ResetDataController (org.olat.ims.qti21.ui.QTI21ResetDataController)2 QTI21RetrieveTestsController (org.olat.ims.qti21.ui.QTI21RetrieveTestsController)2 CorrectionOverviewController (org.olat.ims.qti21.ui.assessment.CorrectionOverviewController)2 ValidationXmlSignatureController (org.olat.ims.qti21.ui.assessment.ValidationXmlSignatureController)2 QTI21StatisticsToolController (org.olat.ims.qti21.ui.statistics.QTI21StatisticsToolController)2 RepositoryEntry (org.olat.repository.RepositoryEntry)2