Search in sources :

Example 1 with HighScoreEditController

use of org.olat.course.highscore.ui.HighScoreEditController 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);
}
Also used : Condition(org.olat.course.condition.Condition) HighScoreEditController(org.olat.course.highscore.ui.HighScoreEditController) ConditionEditController(org.olat.course.condition.ConditionEditController)

Example 2 with HighScoreEditController

use of org.olat.course.highscore.ui.HighScoreEditController 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);
}
Also used : Condition(org.olat.course.condition.Condition) HighScoreEditController(org.olat.course.highscore.ui.HighScoreEditController) ConditionEditController(org.olat.course.condition.ConditionEditController)

Aggregations

Condition (org.olat.course.condition.Condition)2 ConditionEditController (org.olat.course.condition.ConditionEditController)2 HighScoreEditController (org.olat.course.highscore.ui.HighScoreEditController)2