use of org.olat.ims.qti21.ui.QTI21ResetDataController in project OpenOLAT by OpenOLAT.
the class IQIdentityListCourseNodeController method doConfirmResetData.
private void doConfirmResetData(UserRequest ureq) {
AssessmentToolOptions asOptions = getOptions();
CourseEnvironment courseEnv = getCourseEnvironment();
resetDataCtrl = new QTI21ResetDataController(ureq, getWindowControl(), courseEnv, asOptions, (IQTESTCourseNode) courseNode);
listenTo(resetDataCtrl);
String title = translate("tool.reset");
cmc = new CloseableModalController(getWindowControl(), null, resetDataCtrl.getInitialComponent(), true, title, true);
listenTo(cmc);
cmc.activate();
}
use of org.olat.ims.qti21.ui.QTI21ResetDataController in project OpenOLAT by OpenOLAT.
the class QTI21IdentityListCourseNodeToolsController method doConfirmDeleteData.
private void doConfirmDeleteData(UserRequest ureq) {
resetDataCtrl = new QTI21ResetDataController(ureq, getWindowControl(), courseEntry, (IQTESTCourseNode) courseNode, assessedIdentity);
listenTo(resetDataCtrl);
String title = translate("reset.test.data.title");
cmc = new CloseableModalController(getWindowControl(), null, resetDataCtrl.getInitialComponent(), true, title, true);
listenTo(cmc);
cmc.activate();
}
use of org.olat.ims.qti21.ui.QTI21ResetDataController in project openolat by klemens.
the class IQIdentityListCourseNodeController method doConfirmResetData.
private void doConfirmResetData(UserRequest ureq) {
AssessmentToolOptions asOptions = getOptions();
CourseEnvironment courseEnv = getCourseEnvironment();
resetDataCtrl = new QTI21ResetDataController(ureq, getWindowControl(), courseEnv, asOptions, (IQTESTCourseNode) courseNode);
listenTo(resetDataCtrl);
String title = translate("tool.reset");
cmc = new CloseableModalController(getWindowControl(), null, resetDataCtrl.getInitialComponent(), true, title, true);
listenTo(cmc);
cmc.activate();
}
use of org.olat.ims.qti21.ui.QTI21ResetDataController in project openolat by klemens.
the class QTI21IdentityListCourseNodeToolsController method doConfirmDeleteData.
private void doConfirmDeleteData(UserRequest ureq) {
resetDataCtrl = new QTI21ResetDataController(ureq, getWindowControl(), courseEntry, (IQTESTCourseNode) courseNode, assessedIdentity);
listenTo(resetDataCtrl);
String title = translate("reset.test.data.title");
cmc = new CloseableModalController(getWindowControl(), null, resetDataCtrl.getInitialComponent(), true, title, true);
listenTo(cmc);
cmc.activate();
}
Aggregations