Package org.olat.core.gui.components.panel

Examples of org.olat.core.gui.components.panel.Panel


    ChatController chat = new ChatController(ureq, windowControl, jabberId ,offsetX, offsetY, extractMessages(initialMessages));
    listenTo(chat);
    if (createMsgListener) {
      chat.setChatManager(InstantMessagingModule.getAdapter().getClientManager().createChat(getIdentity().getName(), jabberId, chat));
    }
    Panel p = new Panel("chatholder");
    p.setContent(chat.getInitialComponent());
    container.put(jabberId, p);
    chats.put(jabberId, chat);
  }
View Full Code Here


   
    detail = createVelocityContainer("detail");
   
    configButton = LinkFactory.createButton("command.config", detail, this);
   
    content = new Panel("building_block_content");
    currentNodeController = nclr.getRunController();
    currentNodeController.addControllerListener(this);
    content.setContent(currentNodeController.getInitialComponent());
    detail.put("content", content);
    detail.contextPut("time", DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT, ureq.getLocale())
View Full Code Here

    newsCtr = NotificationUIFactory.createNewsListingController(subscriberIdentity, ureq, getWindowControl(), newsSinceDate);
    listenTo(newsCtr);
    tabbedPane.addTab(translate("overview.tab.news"), newsCtr.getInitialComponent());
    // Add subscription view, initialize with an empty panel and create real
    // controller only when user clicks the tab
    subscriptionPanel = new Panel("subscriptionPanel");
    tabbedPane.addTab(translate("overview.tab.subscriptions"), subscriptionPanel);
    // Add RSS info page
    rssPanel = new Panel("rssPanel");
    tabbedPane.addTab(translate("overview.tab.rss"), rssPanel);
    //
    putInitialPanel(tabbedPane);
  }
View Full Code Here

  public PwChangeController(UserRequest ureq, WindowControl wControl) {
    super(ureq, wControl);
    myContent = createVelocityContainer("pwchange");
    wic = new WizardInfoController(ureq, 4);
    myContent.put("pwwizard", wic.getInitialComponent());
    pwarea = new Panel("pwarea");
    myContent.put("pwarea", pwarea);
    pwKey = ureq.getHttpReq().getParameter("key");
    if (pwKey == null || pwKey.equals("")) {
      // no temporarykey is given, we assume step 1
      createEmailForm(ureq, wControl);
View Full Code Here

    // Activate correct position in menu
    olatMenuTree.setSelectedNode(tm.getRootNode());
    setState("root");

    // prepare main panel
    content = new Panel("content");
    content.setContent(createRootComponent(ureq));

    columnLayoutCtr = new LayoutMain3ColsController(ureq, getWindowControl(), olatMenuTree, null, content, "homemain");
    listenTo(columnLayoutCtr);// cleanup on dispose
    // add background image to home site
View Full Code Here

   * @param ureq
   * @param wControl
   * @param cp
   */
  private void initErrorView(UserRequest ureq, WindowControl wControl, String errorString) {
    Panel p = new Panel("errorPanel");
    columnLayoutCtr = new LayoutMain3ColsController(ureq, wControl, null, null, p, "cptestmain");
    this.putInitialPanel(columnLayoutCtr.getInitialComponent());
  }
View Full Code Here

    importVC = new VelocityContainer("calmanage", VELOCITY_ROOT + "/calImportByUrl.html", translator, this);
   
    importUrlForm = new CalendarImportUrlForm("calImportName", translator);
    importUrlForm.addListener(this);
   
    panel = new Panel("panel");
    panel.setContent(importUrlForm);
   
    importVC.put("urlinput", panel);
    cancelButton = LinkFactory.createButton("cancel", importVC, this);
    putInitialPanel(importVC);
View Full Code Here

    List recipList = cmsg.getEmailToContactLists();
    boolean hasAtLeastOneAddress = hasAtLeastOneAddress(recipList);
    cntctForm.setBody(cmsg.getBodyText());
    cntctForm.setSubject(cmsg.getSubject());

    main = new Panel("contactFormMainPanel");
   
    cntctForm.addListener(this);
   
    //init display component
    init(ureq, useDefaultTitle, hasAtLeastOneAddress, cmsg.getDisabledIdentities());
View Full Code Here

    }

    mainVC.contextPut("demolinknames", demolinknames);

    // all democontroller content goes in this panel
    contentP = new Panel("content");
    content_sourceVC = createVelocityContainer("content_source");
    mainVC.put("democontent", contentP);
    //
    String firstDemo = demolinknames.iterator().next();
    ControllerCreator cc = demos.get(firstDemo);
    demoController = cc.createController(ureq, getWindowControl());
    contentP.setContent(demoController.getInitialComponent());
   
    sourceP = new Panel("sourceP");
    VelocityContainer sourceVC = createVelocityContainer(firstDemo);
    ShrinkController sc = new ShrinkController(ureq, getWindowControl(), false, sourceVC, "toggle source");
    sourceP.setContent(sc.getInitialComponent());

    content_sourceVC.put("content", mainVC);
View Full Code Here

  public GuiDemoSoaController(UserRequest ureq, WindowControl wControl) {
    super(ureq, wControl);
    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());
   
View Full Code Here

TOP

Related Classes of org.olat.core.gui.components.panel.Panel

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.