Package org.olat.core.gui.components.tabbedpane

Examples of org.olat.core.gui.components.tabbedpane.TabbedPane


   * configuration
   * @param identity
   * @param ureq
   */
  private void initTabbedPane(UserRequest ureq) {
    repositoryDeleteTabP = new TabbedPane("repositoryDeleteTabP", ureq.getLocale());
    repositoryDeleteTabP.addListener(this);
   
    selectionCtr = new SelectionController(ureq, getWindowControl());
    selectionCtr.addControllerListener(this);
    repositoryDeleteTabP.addTab(translate("delete.workflow.tab.start.process"), selectionCtr.getInitialComponent());
View Full Code Here


    this.isNew = isNew;
    setTranslator(new PackageTranslator(CalendarManager.class.getPackage().getName(), getLocale()));

    mainVC = new VelocityContainer("calEditMain", VELOCITY_ROOT + "/calEditMain.html", getTranslator(), this);
    mainVC.contextPut("caller", caller);
    pane = new TabbedPane("pane", getLocale());
    pane.addListener(this);
    mainVC.put("pane", pane);
   
    eventVC = new VelocityContainer("calEditDetails", VELOCITY_ROOT + "/calEditDetails.html", getTranslator(), this);
    deleteButton = LinkFactory.createButton("cal.edit.delete", eventVC, this);
View Full Code Here

  /**
   * @see org.olat.ims.qti.editor.tree.GenericQtiNode#createEditTabbedPane(org.olat.core.gui.UserRequest, org.olat.core.gui.control.WindowControl, org.olat.core.gui.translator.Translator, QTIEditorMainController)
   */
  public TabbedPane createEditTabbedPane(UserRequest ureq, WindowControl wControl, Translator trnsltr, QTIEditorMainController editorMainController) {
    if (myTabbedPane == null) {
      myTabbedPane = new TabbedPane("tabbedPane", ureq.getLocale());
      TabbableController tabbCntrllr = new SectionController(section, qtiPackage, ureq, wControl, editorMainController.isRestrictedEdit());
      tabbCntrllr.addTabs(myTabbedPane);
      tabbCntrllr.addControllerListener(editorMainController);
    }
    return myTabbedPane;
View Full Code Here

    //
    if (source == menuTree) { // catch menu tree clicks
      if (event.getCommand().equals(MenuTree.COMMAND_TREENODE_CLICKED)) {
        GenericQtiNode clickedNode;       
        clickedNode = menuTreeModel.getQtiNode(menuTree.getSelectedNodeId());       
        TabbedPane tabbedPane = clickedNode.createEditTabbedPane(ureq, getWindowControl(), getTranslator(), this);
        if(tabbedPane!=null) {
          main.put("tabbedPane",tabbedPane);
        } else {
          VelocityContainer itemNotEditable = createVelocityContainer("tab_itemAlien");           
          main.put("tabbedPane", itemNotEditable);
View Full Code Here

TOP

Related Classes of org.olat.core.gui.components.tabbedpane.TabbedPane

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.