Examples of BCPeekviewController


Examples of org.olat.course.nodes.bc.BCPeekviewController

      NodeEvaluation ne) {
    if (ne.isAtLeastOneAccessible()) {
      // Create a folder peekview controller that shows the latest two entries   
      String path = getFoldernodePathRelToFolderBase(userCourseEnv.getCourseEnvironment(), ne.getCourseNode());
      OlatRootFolderImpl rootFolder = new OlatRootFolderImpl(path, null);
      Controller peekViewController = new BCPeekviewController(ureq, wControl, rootFolder, ne.getCourseNode().getIdent(), 4);
      return peekViewController;     
    } else {
      // use standard peekview
      return super.createPeekViewRunController(ureq, wControl, userCourseEnv, ne);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.