Package org.olat.course.run.navigation

Examples of org.olat.course.run.navigation.NodeRunConstructionResult


    ThreadLocalUserActivityLogger.addLoggingResourceInfo(LoggingResourceable.wrap(this));
    FeedMainController blogCtr = BlogUIFactory.getInstance(ureq.getLocale()).createMainController(entry.getOlatResource(), ureq, wControl, callback,
        courseId, nodeId);
    blogCtr.activate(ureq, nodecmd);
    Controller wrapperCtrl = TitledWrapperHelper.getWrapper(ureq, wControl, blogCtr, this, "o_blog_icon");
    NodeRunConstructionResult result = new NodeRunConstructionResult(wrapperCtrl);
    return result;

  }
View Full Code Here


        String message = trans.translate("editor.lock.message");
        controller = MessageUIFactory.createInfoMessage(ureq, wControl, title, message);
      }
    }
    Controller ctrl = TitledWrapperHelper.getWrapper(ureq, wControl, controller, this, "o_iqsurv_icon");
    return new NodeRunConstructionResult(ctrl);
  }
View Full Code Here

    BCCourseNodeRunController bcCtrl = new BCCourseNodeRunController(ne, userCourseEnv.getCourseEnvironment(), ureq, wControl);
    if (StringHelper.containsNonWhitespace(nodecmd)) {
      bcCtrl.activate(ureq, nodecmd);     
    }
    Controller titledCtrl = TitledWrapperHelper.getWrapper(ureq, wControl, bcCtrl, this, "o_bc_icon");
    return new NodeRunConstructionResult(titledCtrl);
  }
View Full Code Here

      controller = MessageUIFactory.createInfoMessage(ureq, wControl, title, message);
    } else {
      controller = new ENRunController(getModuleConfiguration(), ureq, wControl, userCourseEnv, this);
    }
    Controller ctrl = TitledWrapperHelper.getWrapper(ureq, wControl, controller, this, "o_en_icon");
    return new NodeRunConstructionResult(ctrl);
  }
View Full Code Here

    // intermediate data
    Map tmpstoremap = userCourseEnv.getTempMap(this.getClass(), nodeId);
   
    VFSContainer container = userCourseEnv.getCourseEnvironment().getCourseFolderContainer();
    SPRunController runController = new SPRunController(wControl, ureq, tmpstoremap, userCourseEnv, this, container);
    return new NodeRunConstructionResult(runController);
  }
View Full Code Here

      UserCourseEnvironment userCourseEnv, NodeEvaluation ne, String nodecmd) {
    updateModuleConfigDefaults(false);
    ScormRunController cprunC = new ScormRunController(getModuleConfiguration(), ureq, userCourseEnv, wControl, this, false);
    Controller ctrl = TitledWrapperHelper.getWrapper(ureq, wControl, cprunC, this, "o_scorm_icon");
    // no inline-in-olat-menu integration possible: no display configuration option
    return new NodeRunConstructionResult(ctrl);
  }
View Full Code Here

   *      org.olat.course.run.userview.NodeEvaluation)
   */
  public Controller createPreviewController(UserRequest ureq, WindowControl wControl, UserCourseEnvironment userCourseEnv, NodeEvaluation ne) {
    updateModuleConfigDefaults(false);
    ScormRunController cprunC = new ScormRunController(getModuleConfiguration(), ureq, userCourseEnv, wControl, this, true);
    return new NodeRunConstructionResult(cprunC).getRunController();
  }
View Full Code Here

      controller = MessageUIFactory.createInfoMessage(ureq, wControl, title, message);
    } else {
      controller = new CORunController(getModuleConfiguration(), ureq, wControl, userCourseEnv, this);
    }
    Controller ctrl = TitledWrapperHelper.getWrapper(ureq, wControl, controller, this, "o_co_icon");
    return new NodeRunConstructionResult(ctrl);
  }
View Full Code Here

        controller = MessageUIFactory.createInfoMessage(ureq, wControl, title, message);
      }
    }
   
    Controller ctrl = TitledWrapperHelper.getWrapper(ureq, wControl, controller, this, "o_iqtest_icon");
    return new NodeRunConstructionResult(ctrl);
  }
View Full Code Here

   *      org.olat.course.run.userview.UserCourseEnvironment,
   *      org.olat.course.run.userview.NodeEvaluation)
   */
  public NodeRunConstructionResult createNodeRunConstructionResult(UserRequest ureq, WindowControl wControl,
      UserCourseEnvironment userCourseEnv, NodeEvaluation ne, String nodecmd) {
    NodeRunConstructionResult ncr;
    updateModuleConfigDefaults(false);
    OLATResourceable ores = OresHelper.createOLATResourceableInstance(ICourse.class, userCourseEnv.getCourseEnvironment().getCourseResourceableId());
    CPRunController cprunC = new CPRunController(getModuleConfiguration(), ureq, userCourseEnv, wControl, this, nodecmd, ores);
    ncr = cprunC.createNodeRunConstructionResult(ureq);
    return ncr;
View Full Code Here

TOP

Related Classes of org.olat.course.run.navigation.NodeRunConstructionResult

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.