Package org.olat.core.gui.control.creator

Examples of org.olat.core.gui.control.creator.AutoCreator


   * @see org.olat.core.gui.control.creator.ControllerCreator#createController(org.olat.core.gui.UserRequest, org.olat.core.gui.control.WindowControl)
   */
  public Controller createController(UserRequest lureq, WindowControl lwControl) {
    DmzBFWCParts dmzSitesAndNav = new DmzBFWCParts();
    dmzSitesAndNav.showTopNav(false);
    AutoCreator contentControllerCreator = new AutoCreator();
    contentControllerCreator.setClassName(PwChangeController.class.getName());
    dmzSitesAndNav.setContentControllerCreator(contentControllerCreator);
    return new BaseFullWebappController(lureq, lwControl, dmzSitesAndNav );
  }
View Full Code Here


  private void putControllerToPanel(UserRequest ureq, WindowControl wControl, int ctrNr) {
    if (aftctrls.get(ctrNr) == null) return;
    actualCtrNr = ctrNr;
    wiz.setCurStep(ctrNr + 1);
    Map<String, Object> mapEntry = aftctrls.get(ctrNr);
    AutoCreator ctrCreator = null;
    if (mapEntry.containsKey(CONTROLLER_KEY)) {
      ctrCreator = (AutoCreator) mapEntry.get(CONTROLLER_KEY);
    } else {
      throw new RuntimeException("at least a controller must be defined");
    }
    actualForceUser = false;
    if (mapEntry.containsKey(FORCEUSER_KEY)) {
      actualForceUser = Boolean.valueOf(mapEntry.get(FORCEUSER_KEY).toString());
    }

    actCtrl = ctrCreator.createController(ureq, wControl);
    listenTo(actCtrl);
    if (mapEntry.containsKey(I18NINTRO_KEY)) {
      String[] introComb = ((String) mapEntry.get(I18NINTRO_KEY)).split(":");
      vC.contextPut("introPkg", introComb[0]);
      vC.contextPut("introKey", introComb[1]);
View Full Code Here

  /**
   * @see org.olat.core.gui.control.creator.ControllerCreator#createController(org.olat.core.gui.UserRequest, org.olat.core.gui.control.WindowControl)
   */
  public Controller createController(UserRequest lureq, WindowControl lwControl) {
    DmzBFWCParts dmzSitesAndNav = new DmzBFWCParts();
    AutoCreator contentControllerCreator = new AutoCreator();
    contentControllerCreator.setClassName(LoginAuthprovidersController.class.getName());
    dmzSitesAndNav.setContentControllerCreator(contentControllerCreator);
    return new BaseFullWebappController(lureq, lwControl, dmzSitesAndNav );
  }
View Full Code Here

    String text = trans.translate("authentication.provider.linkText");
    return text;
  }

  public Controller createController(UserRequest lureq, WindowControl lwControl) {
    AutoCreator ac = new AutoCreator();
    ac.setClassName(clazz);
    return ac.createController(lureq, lwControl);
  }
View Full Code Here

public class DMZEMChangeContentControllerCreator implements ControllerCreator {

  public Controller createController(UserRequest lureq, WindowControl lwControl) {
    DmzBFWCParts dmzSitesAndNav = new DmzBFWCParts();
    dmzSitesAndNav.showTopNav(false);
    AutoCreator contentControllerCreator = new AutoCreator();
    contentControllerCreator.setClassName(ChangeEMailController.class.getName());
    dmzSitesAndNav.setContentControllerCreator(contentControllerCreator);
    return new BaseFullWebappController(lureq, lwControl, dmzSitesAndNav );   
  }
View Full Code Here

    tabbedPane.addTab("usersessions", sessionAdministrationController.getInitialComponent());
    tabbedPane.addTab("locks", myLocks);
    tabbedPane.addTab(getTranslator().translate("sess.multiuserevents"), myMultiUserEvents);
    tabbedPane.addTab(ACTION_HIBERNATEINFO, myHibernateInfo);
   
    AutoCreator controllerCreator = (AutoCreator)CoreSpringFactory.getBean("clusterAdminControllerCreator");
    clusterController = controllerCreator.createController(ureq, wControl);
    tabbedPane.addTab("Cluster", clusterController.getInitialComponent());

    cachePanel = new Panel("cachepanel");
    tabbedPane.addTab("caches", cachePanel);
   
View Full Code Here

  /**
   * @see org.olat.core.gui.control.creator.ControllerCreator#createController(org.olat.core.gui.UserRequest, org.olat.core.gui.control.WindowControl)
   */
  public Controller createController(UserRequest lureq, WindowControl lwControl) {
    DmzBFWCParts dmzSitesAndNav = new DmzBFWCParts();
    AutoCreator contentControllerCreator = new AutoCreator();
    contentControllerCreator.setClassName(ShibbolethRegistrationController.class.getName());
    dmzSitesAndNav.setContentControllerCreator(contentControllerCreator);
    return new BaseFullWebappController(lureq, lwControl, dmzSitesAndNav );
  }
View Full Code Here

   * @see org.olat.core.gui.control.creator.ControllerCreator#createController(org.olat.core.gui.UserRequest, org.olat.core.gui.control.WindowControl)
   */
  public Controller createController(UserRequest lureq, WindowControl lwControl) {
    DmzBFWCParts dmzSitesAndNav = new DmzBFWCParts();
    dmzSitesAndNav.showTopNav(false);
    AutoCreator contentControllerCreator = new AutoCreator();
    contentControllerCreator.setClassName(RegistrationController.class.getName());
    dmzSitesAndNav.setContentControllerCreator(contentControllerCreator);
    return new BaseFullWebappController(lureq, lwControl, dmzSitesAndNav );
  }
View Full Code Here

TOP

Related Classes of org.olat.core.gui.control.creator.AutoCreator

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.