Examples of MenuTree


Examples of org.olat.core.gui.components.tree.MenuTree

    File mani = new File(cpRoot, "imsmanifest.xml");
    if (!mani.exists()) { throw new OLATRuntimeException("error.manifest.missing", null, PACKAGE, "CP " + cpRoot.getAbsolutePath()
        + " has no imsmanifest", null); }
    treeModel = new ScormCPManifestTreeModel(mani, scormAdapter.getScoItemsStatus());

    menuTree = new MenuTree("cpDisplayTree");
    menuTree.setTreeModel(treeModel);
    menuTree.addListener(this);
   
    OLATResourceable courseOres = null;
    // load course where this scorm package runs in
View Full Code Here

Examples of org.olat.core.gui.components.tree.MenuTree

   * @param cenv
   */
  public PreviewRunController(UserRequest ureq, WindowControl wControl, IdentityEnvironment identEnv, CourseEnvironment cenv, String role, LayoutMain3ColsPreviewController previewLayoutCtr) {
    super(ureq, wControl);
    // set up the components
    luTree = new MenuTree("luTreeRun", this);

    // build up the running structure for this user;
    uce = new UserCourseEnvironmentImpl(identEnv, cenv);
    navHandler = new NavigationHandler(uce, true);
   
View Full Code Here

Examples of org.olat.core.gui.components.tree.MenuTree

   * @param wControl The window control
   */
  public GuestHomeMainController(UserRequest ureq, WindowControl wControl) {
    super(ureq, wControl);

    olatMenuTree = new MenuTree("olatMenuTree");
    TreeModel tm = buildTreeModel();
    olatMenuTree.setTreeModel(tm);
    olatMenuTree.setSelectedNodeId(tm.getRootNode().getIdent());
    olatMenuTree.addListener(this);

View Full Code Here

Examples of org.olat.core.gui.components.tree.MenuTree

  public HomeMainController(UserRequest ureq, WindowControl wControl) {
    super(ureq, updateBusinessPath(ureq,wControl));
   
    addLoggingResourceable(LoggingResourceable.wrap(ureq.getIdentity()));
   
    olatMenuTree = new MenuTree("olatMenuTree");
    TreeModel tm = buildTreeModel();
    olatMenuTree.setTreeModel(tm);
    olatMenuTree.setSelectedNodeId(tm.getRootNode().getIdent());
    olatMenuTree.addListener(this);
    // Activate correct position in menu
View Full Code Here

Examples of org.olat.core.gui.components.tree.MenuTree

    // initialize tree model in any case
    ctm = new CPManifestTreeModel((VFSLeaf) mani);

    if (showMenu) {
      // the menu is only initialized when needed.
      cpTree = new MenuTree("cpDisplayTree");
      cpTree.setTreeModel(ctm);
      cpTree.addListener(this);
    }

    LoggingResourceable nodeInfo = null;
View Full Code Here

Examples of org.olat.core.gui.components.tree.MenuTree

    // to the courselog
    Tracing.logAudit("Entering course: [[["+courseTitle+"]]]", course.getResourceableId().toString(), RunMainController.class);
   
    // set up the components
    all = new Panel("allofcourse");
    luTree = new MenuTree("luTreeRun", this);
    contentP = new Panel("building_block_content");

    // get all group memberships for this course
    initGroupMemberships(identity);
    // Initialize the the users roles and right for this course
View Full Code Here

Examples of org.olat.core.gui.components.tree.MenuTree

      keepOpenWarningButton = LinkFactory.createCustomLink("keepOpenWarningButton", CMD_KEEPOPEN_WARNING, "keep.open", Link.BUTTON_SMALL, main, this);
     
      // set the custom course css
      enableCustomCss(ureq);

      menuTree = new MenuTree("luTree");
           

      /*
       * create editor user course environment for enhanced syntax/semantic
       * checks. Initialize it with the current course node id, which is not set
View Full Code Here

Examples of org.olat.core.gui.components.tree.MenuTree

    // Intro page, static
    intro = createVelocityContainer("archiver_index");
    main.setContent(intro);

    // Navigation menu
    menuTree = new MenuTree("menuTree");       
    TreeModel tm = buildTreeModel();
    menuTree.setTreeModel(tm);
    menuTree.setSelectedNodeId(tm.getRootNode().getIdent());
    menuTree.addListener(this);
View Full Code Here

Examples of org.olat.core.gui.components.tree.MenuTree

    dmzPanel = new Panel("content");
    content = initLoginContent(ureq, null);
    dmzPanel.pushContent(content);

    // DMZ navigation
    olatMenuTree = new MenuTree("olatMenuTree");       
    TreeModel tm = buildTreeModel();
    olatMenuTree.setTreeModel(tm);
    olatMenuTree.setSelectedNodeId(tm.getRootNode().getIdent());
    olatMenuTree.addListener(this);
View Full Code Here

Examples of org.olat.core.gui.components.tree.MenuTree

  private void doInitContextListLayout(UserRequest ureq) {
    // Layout is controlled with generic controller: menu - content - tools to
    // look the same as in the groupmanagement
    // 1) menu
    olatMenuTree = new MenuTree("olatMenuTree");
    GenericTreeModel gtm = new GenericTreeModel();
    GenericTreeNode root = new GenericTreeNode();
    if (groupType.equals(BusinessGroup.TYPE_RIGHTGROUP)) {
      root.setTitle(translate("rightmanagement.index"));
      root.setAltText(translate("rightmanagement.index.alt"));
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.