Package org.olat.core.gui.control

Examples of org.olat.core.gui.control.Controller


    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


  /**
   * @see org.olat.core.commons.fullWebApp.BaseFullWebappControllerParts#createFooterController(org.olat.core.gui.UserRequest, org.olat.core.gui.control.WindowControl)
   */
  public Controller createFooterController(UserRequest ureq, WindowControl wControl) {
    Controller footerCtr = null;
    // ----------- footer, optional (e.g. for copyright, powered by) ------------------
    if (CoreSpringFactory.containsBean("fullWebApp.GuestFooterControllerCreator")) {
      ControllerCreator footerCreator = (ControllerCreator) CoreSpringFactory.getBean("fullWebApp.GuestFooterControllerCreator");
      footerCtr = footerCreator.createController(ureq, wControl);
    } else {
View Full Code Here

  /**
   * @see org.olat.core.commons.fullWebApp.BaseFullWebappControllerParts#createHeaderController(org.olat.core.gui.UserRequest, org.olat.core.gui.control.WindowControl)
   */
  public Controller createHeaderController(UserRequest ureq, WindowControl wControl) {
    Controller headerCtr = null;
    // ----------- header, optional (e.g. for logo, advertising ) ------------------   
    if (CoreSpringFactory.containsBean("fullWebApp.GuestHeaderControllerCreator")) {
      ControllerCreator headerControllerCreator = (ControllerCreatorCoreSpringFactory.getBean("fullWebApp.GuestHeaderControllerCreator");
      headerCtr = headerControllerCreator.createController(ureq, wControl);
    }
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

    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

  /**
   * @see org.olat.core.commons.fullWebApp.BaseFullWebappControllerParts#createFooterController(org.olat.core.gui.UserRequest, org.olat.core.gui.control.WindowControl)
   */
  public Controller createFooterController(UserRequest ureq, WindowControl wControl) {
    Controller footerCtr = null;
    // ----------- footer, optional (e.g. for copyright, powerd by) ------------------
    if (CoreSpringFactory.containsBean("fullWebApp.FooterControllerCreator")) {
      ControllerCreator footerCreator = (ControllerCreator) CoreSpringFactory.getBean("fullWebApp.FooterControllerCreator");
      footerCtr = footerCreator.createController(ureq, wControl);
    }
View Full Code Here

  /**
   * @see org.olat.core.commons.fullWebApp.BaseFullWebappControllerParts#createHeaderController(org.olat.core.gui.UserRequest, org.olat.core.gui.control.WindowControl)
   */
  public Controller createHeaderController(UserRequest ureq, WindowControl wControl) {
    Controller headerCtr = null;
    // ----------- header, optional (e.g. for logo, advertising ) ------------------   
    if (CoreSpringFactory.containsBean("fullWebApp.HeaderControllerCreator")) {
      ControllerCreator headerControllerCreator = (ControllerCreatorCoreSpringFactory.getBean("fullWebApp.HeaderControllerCreator");
      headerCtr = headerControllerCreator.createController(ureq, wControl);
    }
View Full Code Here

  /**
   * @see org.olat.core.commons.fullWebApp.BaseFullWebappControllerParts#createTopNavController(org.olat.core.gui.UserRequest, org.olat.core.gui.control.WindowControl)
   */
  public Controller createTopNavController(UserRequest ureq, WindowControl wControl) {
    Controller topnavCtr = null;
    // ----------- topnav, optional (e.g. for imprint, logout) ------------------   
    if (CoreSpringFactory.containsBean("fullWebApp.TopNavControllerCreator")) {
      ControllerCreator topnavControllerCreator = (ControllerCreator) CoreSpringFactory.getBean("fullWebApp.TopNavControllerCreator");
      topnavCtr = topnavControllerCreator.createController(ureq, wControl);
    }
View Full Code Here

  /**
   * @see org.olat.core.commons.fullWebApp.BaseFullWebappControllerParts#createFooterController(org.olat.core.gui.UserRequest, org.olat.core.gui.control.WindowControl)
   */
  public Controller createFooterController(UserRequest ureq, WindowControl wControl) {
    Controller footerCtr = null;
    // ----------- footer, optional (e.g. for copyright, powered by) ------------------
    if (CoreSpringFactory.containsBean("fullWebApp.DMZFooterControllerCreator")) {
      ControllerCreator footerCreator = (ControllerCreator) CoreSpringFactory.getBean("fullWebApp.DMZFooterControllerCreator");
      footerCtr = footerCreator.createController(ureq, wControl);
    } else {
View Full Code Here

  /**
   * @see org.olat.core.commons.fullWebApp.BaseFullWebappControllerParts#createHeaderController(org.olat.core.gui.UserRequest, org.olat.core.gui.control.WindowControl)
   */
  public Controller createHeaderController(UserRequest ureq, WindowControl wControl) {
    Controller headerCtr = null;
    // ----------- header, optional (e.g. for logo, advertising ) ------------------   
    if (CoreSpringFactory.containsBean("fullWebApp.DMZHeaderControllerCreator")) {
      ControllerCreator headerControllerCreator = (ControllerCreatorCoreSpringFactory.getBean("fullWebApp.DMZHeaderControllerCreator");
      headerCtr = headerControllerCreator.createController(ureq, wControl);
    }
View Full Code Here

TOP

Related Classes of org.olat.core.gui.control.Controller

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.