Package org.olat.core.gui.dev.controller

Examples of org.olat.core.gui.dev.controller.SourceViewController


    renderLink = LinkFactory.createLink("command.render", myContent, this);
    mainPanel = new Panel("homesitepanel");
    mainPanel.setContent(myContent);
   
    //add source view control
      Controller sourceview = new SourceViewController(ureq, wControl, this.getClass(), myContent);
      myContent.put("sourceview", sourceview.getInitialComponent());
   
    putInitialPanel(mainPanel);
  }
View Full Code Here


    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);
    content.put("sourceview", sourceview.getInitialComponent());
   
    putInitialPanel(content);
  }
View Full Code Here

    panel.setContent(openerVc);
    open = LinkFactory.createLink("open", openerVc, this);
    open2 = LinkFactory.createLink("open2", openerVc, this);
   
    //add source view control
    Controller sourceview = new SourceViewController(ureq, wControl, this.getClass(), openerVc);
    openerVc.put("sourceview", sourceview.getInitialComponent());
   
    putInitialPanel(panel);
  }
View Full Code Here

    sourceP.setContent(sc.getInitialComponent());

    content_sourceVC.put("content", mainVC);
    content_sourceVC.put("source", sourceP);
    //add source view control
    Controller sourceview = new SourceViewController(ureq, wControl, this.getClass(), content_sourceVC);
    mainVC.put("sourceview", sourceview.getInitialComponent());
   
    putInitialPanel(content_sourceVC);
  }
View Full Code Here

    mainVC = createVelocityContainer("demo");
    button = LinkFactory.createButton("button.usc", mainVC, this);
    mainVC.put("usersearchholder", usersearchHolder = new Panel("usersearchholder"));
   
    //add source view control
    Controller sourceview = new SourceViewController(ureq, wControl, this.getClass(), mainVC);
    mainVC.put("sourceview", sourceview.getInitialComponent());
   
    putInitialPanel(mainVC);
  }
View Full Code Here

    tabbedPane.setEnabled(4, false);
   
    vcMain.put("panes", tabbedPane);
   
    //add source view control
    Controller sourceview = new SourceViewController(ureq, wControl, this.getClass(), vcMain);
    vcMain.put("sourceview", sourceview.getInitialComponent());
   
    this.putInitialPanel(vcMain);
  }
View Full Code Here

    warnButton = LinkFactory.createButton("guidemo.window.control.warn", vcMain, this);
    errorButton = LinkFactory.createButton("guidemo.window.control.error", vcMain, this);
    pushButton = LinkFactory.createButton("guidemo.window.control.push", vcMain, this);
   
    //add source view control
    Controller sourceview = new SourceViewController(ureq, wControl, this.getClass(), vcMain);
    vcMain.put("sourceview", sourceview.getInitialComponent());
       
    this.putInitialPanel(vcMain);
  }
View Full Code Here

   
    jscssremove = LinkFactory.createButtonXSmall("link.jscssremove", mainVc, this);
    jscss = LinkFactory.createButtonXSmall("link.jscss", mainVc, this);
   
    //add source view control
    Controller sourceview = new SourceViewController(ureq, wControl, this.getClass(), mainVc);
    mainVc.put("sourceview", sourceview.getInitialComponent());
   
    // let the scripts (.js files) and css files be included when this controller's main component is rendered
    putInitialPanel(mainVc);
  }
View Full Code Here

      }});
    t.setDaemon(true);
    t.start();
   
    //add source view control
    Controller sourceview = new SourceViewController(ureq, wControl, this.getClass(), mainVC);
    mainVC.put("sourceview", sourceview.getInitialComponent());
   
    putInitialPanel(mainVC);
  }
View Full Code Here

    selectNodeLink = LinkFactory.createLink("GuiDemoAjaxTreeController.selectlink", contentVC, this);
    // Add link to remove a certain node
    removeNodeLink = LinkFactory.createLink("GuiDemoAjaxTreeController.removelink", contentVC, this);
   
  //add source view control
    Controller sourceview = new SourceViewController(ureq, wControl, this.getClass(), contentVC);
    contentVC.put("sourceview", sourceview.getInitialComponent());
   
    putInitialPanel(contentVC);
  }
View Full Code Here

TOP

Related Classes of org.olat.core.gui.dev.controller.SourceViewController

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.