Package org.olat.course.condition

Examples of org.olat.course.condition.Condition


  /**
   * @return scoring condition
   */
  public Condition getConditionScoring() {
    if (conditionScoring == null) {
      conditionScoring = new Condition();
    }
    conditionScoring.setConditionId("scoring");
    return conditionScoring;
  }
View Full Code Here


   *
   * @return Returnbox condition
   */
  public Condition getConditionReturnbox() {
    if (conditionReturnbox == null) {
      conditionReturnbox = new Condition();
    }
    conditionReturnbox.setConditionId("returnbox");
    return conditionReturnbox;
  }
View Full Code Here

    this.listenTo(fccecontr);
   
    Component fcContent = fccecontr.getInitialComponent();
    myContent.put("filechoosecreateedit", fcContent);
   
    Condition accessCondition = courseNode.getPreConditionAccess();
    accessibilityCondContr = new ConditionEditController(ureq, getWindowControl(), groupMgr, accessCondition, "accessabilityConditionForm",
        AssessmentHelper.getAssessableNodes(course.getEditorTreeModel(), courseNode),euce);   
    this.listenTo(accessibilityCondContr);

    main.setContent(myContent);
View Full Code Here

        RepositoryEntry re = searchController.getSelectedEntry();
        doIQReference(urequest, re);
      }
    } else if (source == accessibilityCondContr) {
      if (event == Event.CHANGED_EVENT) {
        Condition cond = accessibilityCondContr.getCondition();
        courseNode.setPreConditionAccess(cond);
        fireEvent(urequest, NodeEditController.NODECONFIG_CHANGED_EVENT);
      }
    } else if (source == fccecontr) {
      if (event == FileChooseCreateEditController.FILE_CHANGED_EVENT) {
View Full Code Here

  /**
   * @return Condition
   */
  public Condition getPreConditionVisibility() {
    if (preConditionVisibility == null) {
      preConditionVisibility = new Condition();
    }
    preConditionVisibility.setConditionId("visibility");
    return preConditionVisibility;
  }
View Full Code Here

  /**
   * @return Condition
   */
  public Condition getPreConditionAccess() {
    if (preConditionAccess == null) {
      preConditionAccess = new Condition();
    }
    preConditionAccess.setConditionId("visibility");
    return preConditionAccess;
  }
View Full Code Here

  /**
   * @return Returns the preConditionModerator.
   */
  public Condition getPreConditionModerator() {
    if (preConditionModerator == null) {
      preConditionModerator = new Condition();
    }
    preConditionModerator.setConditionId("moderator");
    return preConditionModerator;
  }
View Full Code Here

  /**
   * @return Returns the preConditionPoster.
   */
  public Condition getPreConditionPoster() {
    if (preConditionPoster == null) {
      preConditionPoster = new Condition();
    }
    preConditionPoster.setConditionId("poster");
    return preConditionPoster;
  }
View Full Code Here

  /**
   * @return Returns the preConditionReader.
   */
  public Condition getPreConditionReader() {
    if (preConditionReader == null) {
      preConditionReader = new Condition();
    }
    preConditionReader.setConditionId("reader");
    return preConditionReader;
  }
View Full Code Here

   
    myContent = this.createVelocityContainer("edit");
    doFormInit(ureq);

    // Accessibility precondition
    Condition accessCondition = courseNode.getPreConditionAccess();
    accessibilityCondContr = new ConditionEditController(ureq, getWindowControl(), groupMgr, accessCondition, "accessabilityConditionForm",
        AssessmentHelper.getAssessableNodes(courseP.getEditorTreeModel(), enCourseNode), euceP);   
    this.listenTo(accessibilityCondContr);

    // not needed: setInitialComponent(myContent) since tabbable controller
View Full Code Here

TOP

Related Classes of org.olat.course.condition.Condition

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.