Examples of CrumbController


Examples of org.olat.core.gui.control.generic.breadcrumb.CrumbController

    super(ureq, control);
    content = createVelocityContainer("breadcrump");
    // init bread crumb controller and add first element
    breadCrumbCtr = new BreadCrumbController(ureq, control);
    int level = 0;
    CrumbController ctr = new GuiDemoBreadCrumbContentController(ureq, getWindowControl(), level);
    breadCrumbCtr.activateFirstCrumbController(ctr);
    content.put("breadcrump", breadCrumbCtr.getInitialComponent());
   
    //add source view control
    Controller sourceview = new SourceViewController(ureq, control, this.getClass(), content);
View Full Code Here

Examples of org.olat.core.gui.control.generic.breadcrumb.CrumbController

    }

    @Override
    protected void event(UserRequest ureq, Component source, Event event) {
      if (source.equals(createNewLink)) {
        CrumbController ctr = new GuiDemoBreadCrumbContentController(ureq, getWindowControl(), this.crumbLevel + 1);
        activateAndListenToChildCrumbController(ctr);
      }
      else if (source.equals(removeCurrentLink)) {
        removeFromBreadCrumbPathAndDispose();
      }
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.