use of org.olat.course.condition.ConditionEditController in project OpenOLAT by OpenOLAT.
the class ENEditController method init.
/**
* @param config
* @param ureq
* @param enCourseNode
* @param course
* @param euce
*/
private void init(ModuleConfiguration config, UserRequest ureq, ENCourseNode enCourseNode, ICourse courseP, UserCourseEnvironment euceP) {
this.moduleConfiguration = config;
this.courseNode = enCourseNode;
this.euce = euceP;
myContent = createVelocityContainer("edit");
doFormInit(ureq);
// Accessibility precondition
Condition accessCondition = courseNode.getPreConditionAccess();
accessibilityCondContr = new ConditionEditController(ureq, getWindowControl(), euceP, accessCondition, AssessmentHelper.getAssessableNodes(courseP.getEditorTreeModel(), enCourseNode));
listenTo(accessibilityCondContr);
// not needed: setInitialComponent(myContent) since tabbable controller
}
use of org.olat.course.condition.ConditionEditController in project OpenOLAT by OpenOLAT.
the class IQEditController method init.
private void init(UserRequest ureq) {
configurationCtrl = new IQConfigurationController(ureq, getWindowControl(), stackPanel, course, courseNode, type);
listenTo(configurationCtrl);
layoutConfigurationCtrl = new IQLayoutConfigurationController(ureq, getWindowControl(), course, courseNode, type);
listenTo(layoutConfigurationCtrl);
if (AssessmentInstance.QMD_ENTRY_TYPE_ASSESS.equals(type)) {
highScoreNodeConfigController = new HighScoreEditController(ureq, getWindowControl(), moduleConfiguration);
listenTo(highScoreNodeConfigController);
}
Condition accessCondition = courseNode.getPreConditionAccess();
accessibilityCondContr = new ConditionEditController(ureq, getWindowControl(), euce, accessCondition, AssessmentHelper.getAssessableNodes(course.getEditorTreeModel(), courseNode));
listenTo(accessibilityCondContr);
}
use of org.olat.course.condition.ConditionEditController in project openolat by klemens.
the class ENEditController method init.
/**
* @param config
* @param ureq
* @param enCourseNode
* @param course
* @param euce
*/
private void init(ModuleConfiguration config, UserRequest ureq, ENCourseNode enCourseNode, ICourse courseP, UserCourseEnvironment euceP) {
this.moduleConfiguration = config;
this.courseNode = enCourseNode;
this.euce = euceP;
myContent = createVelocityContainer("edit");
doFormInit(ureq);
// Accessibility precondition
Condition accessCondition = courseNode.getPreConditionAccess();
accessibilityCondContr = new ConditionEditController(ureq, getWindowControl(), euceP, accessCondition, AssessmentHelper.getAssessableNodes(courseP.getEditorTreeModel(), enCourseNode));
listenTo(accessibilityCondContr);
// not needed: setInitialComponent(myContent) since tabbable controller
}
use of org.olat.course.condition.ConditionEditController in project openolat by klemens.
the class IQEditController method init.
private void init(UserRequest ureq) {
configurationCtrl = new IQConfigurationController(ureq, getWindowControl(), stackPanel, course, courseNode, type);
listenTo(configurationCtrl);
layoutConfigurationCtrl = new IQLayoutConfigurationController(ureq, getWindowControl(), course, courseNode, type);
listenTo(layoutConfigurationCtrl);
if (AssessmentInstance.QMD_ENTRY_TYPE_ASSESS.equals(type)) {
highScoreNodeConfigController = new HighScoreEditController(ureq, getWindowControl(), moduleConfiguration);
listenTo(highScoreNodeConfigController);
}
Condition accessCondition = courseNode.getPreConditionAccess();
accessibilityCondContr = new ConditionEditController(ureq, getWindowControl(), euce, accessCondition, AssessmentHelper.getAssessableNodes(course.getEditorTreeModel(), courseNode));
listenTo(accessibilityCondContr);
}
Aggregations