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

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


      initTabbedPane(ureq);
      setInitialComponent(myContent);
    } else {
      String supportAddr = WebappHelper.getMailConfig("mailSupport");
      getWindowControl().setWarning(translator.translate(NLS_ERROR_NOACCESS_TO_USER, new String[]{supportAddr}));
      setInitialComponent(new Panel("empty"));
    }
  }
View Full Code Here


        if(log.isDebug()) log.debug("direct navigation to container-path=" + path);
        this.nodecmd = path;
      }
    }

    main = new Panel("cprunmain");
    doLaunch(ureq);
    putInitialPanel(main);
  }
View Full Code Here

    this.moduleConfiguration = config;
    resolveModuleConfigurationIssues(moduleConfiguration);
    this.courseNode = coCourseNode;
    this.course = course;

    main = new Panel("coeditpanel");

    myContent = this.createVelocityContainer("edit");

    configForm = new COConfigForm("configForm", getTranslator(), config, true);
    configForm.addListener(this);
View Full Code Here

    myContent = this.createVelocityContainer("deletestatus");
   
    Roles roles = ureq.getUserSession().getRoles();
    isAdministrativeUser = (roles.isAuthor() || roles.isGroupManager() || roles.isUserManager() || roles.isOLATAdmin());   

    userDeleteStatusPanel = new Panel("userDeleteStatusPanel");
    userDeleteStatusPanel.addListener(this);
    myContent.put("userDeleteStatusPanel", userDeleteStatusPanel);
    myContent.contextPut("header", getTranslator().translate("status.delete.email.header",
        new String [] { Integer.toString(UserDeletionManager.getInstance().getDeleteEmailDuration()) }));
View Full Code Here

    repoEntries = new ArrayList<RepositoryEntry>();
   
    translator = new PackageTranslator(PACKAGE, ureq.getLocale());
    mainVc = new VelocityContainer("import", VELOCITY_ROOT + "/wizard.html", translator, this);
    LinkFactory.createLinkBack(mainVc, this);
    panel = new Panel("panel");
    // step 1
    buildStep1(ureq);
    mainVc.put("panel", panel);
   
    this.setWizardTitle(translator.translate("wizard.add.owners.title"));
View Full Code Here

    groupForm = new GroupChoiceForm(ureq, getWindowControl(), lstGroups, isAdmin);
    groupForm.addControllerListener(this);
    displayChecklistVC.put("groupForm", groupForm.getInitialComponent());
   
    // the table
    panel = new Panel("manageTable");
    initManageTable(ureq);
    displayChecklistVC.put("manageTable", panel);
   
    // save and close
    closeManageButton = LinkFactory.createButton("cl.close", displayChecklistVC, this);
View Full Code Here

      exposeUserDataToVC(ureq, myIdentity);         
      this.putInitialPanel(myContent);
    } else {
      String supportAddr = WebappHelper.getMailConfig("mailSupport");     
      this.showWarning(NLS_ERROR_NOACCESS_TO_USER, supportAddr);     
      this.putInitialPanel(new Panel("empty"));
    }
  }
View Full Code Here

    // main component layed out in panel
    main = createVelocityContainer("bgrun");
    exposeGroupDetailsToVC(currBusinessGroup);

    mainPanel = new Panel("p_buddygroupRun");
    mainPanel.setContent(main);
    //
    bgTree = new MenuTree("bgTree");
    TreeModel trMdl = buildTreeModel();
    bgTree.setTreeModel(trMdl);
    bgTree.addListener(this);
    //
    columnLayoutCtr = new LayoutMain3ColsController(ureq, getWindowControl(), bgTree, null, mainPanel, "grouprun");
    listenTo(columnLayoutCtr); // cleanup on dispose
   
    //
    all = putInitialPanel(columnLayoutCtr.getInitialComponent());
    // register for AssessmentEvents triggered by this user     
    userSession.getSingleUserEventCenter().registerFor(this, userSession.getIdentity(), assessmentEventOres);
    /*
     * lastUsage, update lastUsage if group is run if you can acquire the lock
     * on the group for a very short time. If this is not possible, then the
     * lastUsage is already up to date within one-day-precision.
     */
   
    BusinessGroupManagerImpl.getInstance().setLastUsageFor(currBusinessGroup);
   
    //disposed message controller
    //must be created beforehand
    Panel empty = new Panel("empty");//empty panel set as "menu" and "tool"
    Controller disposedBusinessGroup = new DisposedBusinessGroup(ureq, getWindowControl());
    LayoutMain3ColsController disposedController = new LayoutMain3ColsController(ureq, getWindowControl(), empty, empty, disposedBusinessGroup.getInitialComponent(), "disposed grouprun");
    disposedController.addDisposableChildController(disposedBusinessGroup);
    setDisposedMsgController(disposedController);

View Full Code Here

    TreeModel tm = buildTreeModel();
    this.olatMenuTree.setTreeModel(tm);
    this.olatMenuTree.setSelectedNodeId(tm.getRootNode().getIdent());
    this.olatMenuTree.addListener(this);
    // Content
    this.content = new Panel("content");
    // Tools
    // 1 create empty Tools and init menuAndToolController
    // 2 set correct tools using setTools method (override step 1)
    this.toolC = ToolFactory.createToolController(getWindowControl());
    this.columnLayoutCtr = new LayoutMain3ColsController(ureq, getWindowControl(), this.olatMenuTree, this.toolC.getInitialComponent(), this.content, "groupcontextmngt");
View Full Code Here

      ICourse course, UserCourseEnvironment euce) {
    super(ureq, wControl);
    this.moduleConfiguration = config;
    this.calCourseNode = calCourseNode;

    main = new Panel("calmain");

    editAccessVc = createVelocityContainer("edit_access");
    CourseGroupManager groupMgr = course.getCourseEnvironment().getCourseGroupManager();
    CourseEditorTreeModel editorModel = course.getEditorTreeModel();
    // Accessibility precondition
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.