use of org.olat.ims.qti21.ui.QTI21RetrieveTestsController in project OpenOLAT by OpenOLAT.
the class IQIdentityListCourseNodeController method doConfirmPull.
private void doConfirmPull(UserRequest ureq) {
AssessmentToolOptions asOptions = getOptions();
RepositoryEntry testEntry = getReferencedRepositoryEntry();
CourseEnvironment courseEnv = getCourseEnvironment();
if (ImsQTI21Resource.TYPE_NAME.equals(testEntry.getOlatResource().getResourceableTypeName())) {
retrieveConfirmationCtr = new QTI21RetrieveTestsController(ureq, getWindowControl(), courseEnv, asOptions, (IQTESTCourseNode) courseNode);
} else {
retrieveConfirmationCtr = new QTI12PullTestsToolController(ureq, getWindowControl(), courseEnv, asOptions, (IQTESTCourseNode) courseNode);
}
listenTo(retrieveConfirmationCtr);
String title = translate("tool.pull");
cmc = new CloseableModalController(getWindowControl(), null, retrieveConfirmationCtr.getInitialComponent(), true, title, true);
listenTo(cmc);
cmc.activate();
}
use of org.olat.ims.qti21.ui.QTI21RetrieveTestsController in project OpenOLAT by OpenOLAT.
the class QTI21IdentityListCourseNodeToolsController method doConfirmPullSession.
private void doConfirmPullSession(UserRequest ureq, AssessmentTestSession session) {
retrieveConfirmationCtr = new QTI21RetrieveTestsController(ureq, getWindowControl(), session, (IQTESTCourseNode) courseNode);
listenTo(retrieveConfirmationCtr);
String title = translate("tool.pull");
cmc = new CloseableModalController(getWindowControl(), null, retrieveConfirmationCtr.getInitialComponent(), true, title, true);
listenTo(cmc);
cmc.activate();
}
use of org.olat.ims.qti21.ui.QTI21RetrieveTestsController in project openolat by klemens.
the class IQIdentityListCourseNodeController method doConfirmPull.
private void doConfirmPull(UserRequest ureq) {
AssessmentToolOptions asOptions = getOptions();
RepositoryEntry testEntry = getReferencedRepositoryEntry();
CourseEnvironment courseEnv = getCourseEnvironment();
if (ImsQTI21Resource.TYPE_NAME.equals(testEntry.getOlatResource().getResourceableTypeName())) {
retrieveConfirmationCtr = new QTI21RetrieveTestsController(ureq, getWindowControl(), courseEnv, asOptions, (IQTESTCourseNode) courseNode);
} else {
retrieveConfirmationCtr = new QTI12PullTestsToolController(ureq, getWindowControl(), courseEnv, asOptions, (IQTESTCourseNode) courseNode);
}
listenTo(retrieveConfirmationCtr);
String title = translate("tool.pull");
cmc = new CloseableModalController(getWindowControl(), null, retrieveConfirmationCtr.getInitialComponent(), true, title, true);
listenTo(cmc);
cmc.activate();
}
use of org.olat.ims.qti21.ui.QTI21RetrieveTestsController in project openolat by klemens.
the class QTI21IdentityListCourseNodeToolsController method doConfirmPullSession.
private void doConfirmPullSession(UserRequest ureq, AssessmentTestSession session) {
retrieveConfirmationCtr = new QTI21RetrieveTestsController(ureq, getWindowControl(), session, (IQTESTCourseNode) courseNode);
listenTo(retrieveConfirmationCtr);
String title = translate("tool.pull");
cmc = new CloseableModalController(getWindowControl(), null, retrieveConfirmationCtr.getInitialComponent(), true, title, true);
listenTo(cmc);
cmc.activate();
}
Aggregations