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

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


    propertyHandlerTranslator = UserManager.getInstance().getPropertyHandlerTranslator(getTranslator());
   
    Roles roles = ureq.getUserSession().getRoles();
    isAdministrativeUser = (roles.isAuthor() || roles.isGroupManager() || roles.isUserManager() || roles.isOLATAdmin());   
   
    main = new Panel("assessmentmain");

    // Intro page, static
    index = createVelocityContainer("assessment_index");
   
    Identity focusOnIdentity = null;
View Full Code Here


    myContent = this.createVelocityContainer("panel");

    Roles roles = ureq.getUserSession().getRoles();
    isAdministrativeUser = (roles.isAuthor() || roles.isGroupManager() || roles.isUserManager() || roles.isOLATAdmin());   
   
    userSelectionPanel = new Panel("userSelectionPanel");
    userSelectionPanel.addListener(this);
    initializeTableController(ureq);
    initializeContent();
    myContent.put("panel", userSelectionPanel);
   
View Full Code Here

      // put everything in a velocity container
      this.editVC = createVelocityContainer("contextmanagement_edit");
      this.editVC.put("tabbedpane", this.tabbedPane);
      String title = DefaultContextTranslationHelper.translateIfDefaultContextName(groupContext, getTranslator());
      this.editVC.contextPut("title", getTranslator().translate("edit.title", new String[] { "<i>" + StringEscapeUtils.escapeHtml(title) + "</i>" }));
      this.content = new Panel("contexteditpanel");
      this.content.setContent(this.editVC);
    }else{
      //lock was not successful !
      this.alreadyLockedDialogController = DialogBoxUIFactory.createResourceLockedMessage(ureq, wControl, this.lockEntry, "error.message.locked", getTranslator());
      listenTo(this.alreadyLockedDialogController);
View Full Code Here

    // university like the author)
    // then set isAuthor to true
    isAuthor = isAuthor | (ureq.getUserSession().getRoles().isInstitutionalResourceManager());
    main.contextPut("isAuthor", Boolean.valueOf(isAuthor));

    mainPanel = new Panel("repopanel");
    mainPanel.setContent(main);

    searchController = new RepositorySearchController(translate("details.header"), ureq, getWindowControl(), false, true);
    listenTo(searchController);
    main.put("searchcomp", searchController.getInitialComponent());
View Full Code Here

      displayChecklistVC.put("authorOptions", authorOptions.getInitialComponent());
    } else {
      displayChecklistVC.contextPut("showAuthorBtns", Boolean.FALSE);
    }
   
    panel = new Panel("runTable");
   
    initTable(ureq);
   
    displayChecklistVC.put("runTable", panel);
View Full Code Here

        ureq.getIdentity(),
        Constants.PERMISSION_ACCESS,
        OresHelper.lookupType(this.getClass())))
      throw new OLATSecurityException("Insufficient permissions to access QuotaController");

    main = new Panel("quotamain");
    myContent = createVelocityContainer("index");
    addQuotaButton = LinkFactory.createButton("qf.new", myContent, this);

    TableGuiConfiguration tableConfig = new TableGuiConfiguration();
    tableCtr = new TableController(tableConfig, ureq, getWindowControl(), getTranslator(), null);
View Full Code Here

    pT = UserManager.getInstance().getPropertyHandlerTranslator(pT);
    myContent = new VelocityContainer("olatusersearch", VELOCITY_ROOT + "/usersearch.html", pT, this);
   
    backLink = LinkFactory.createButton("btn.back", myContent, this);
   
    searchPanel = new Panel("usersearchPanel");
    searchPanel.addListener(this);
    myContent.put("usersearchPanel", searchPanel);

    if (ureq.getUserSession()==null) {
      Tracing.logError("UserSearchController<init>: session is null!", UserSearchController.class);
View Full Code Here

    super(ureq, wControl,new PackageTranslator(UserSearchController.class.getPackage().getName(), ureq.getLocale()));
    //  use the PropertyHandlerTranslator  as tableCtr translator
    propertyHandlerTranslator = UserManager.getInstance().getPropertyHandlerTranslator(getTranslator());
   
    myContent = createVelocityContainer("panel");   
    readyToDeletePanel = new Panel("readyToDeletePanel");
    readyToDeletePanel.addListener(this);
    myContent.put("panel", readyToDeletePanel);

    Roles roles = ureq.getUserSession().getRoles();
    isAdministrativeUser = (roles.isAuthor() || roles.isGroupManager() || roles.isUserManager() || roles.isOLATAdmin());   
View Full Code Here

    super(ureq, control, NUM_STEPS);
   
    this.repositoryEntry = repositoryEntry;
    this.translator = new PackageTranslator(PACKAGE, ureq.getLocale());
    this.mainVc = new VelocityContainer("import", VELOCITY_ROOT + "/wizard.html", translator, this);
    this.panel = new Panel("panel");
  }
View Full Code Here

    if (hasEditRights) {
      linkTreeModel = new CourseInternalLinkTreeModel(userCourseEnv.getCourseEnvironment().getRunStructure().getRootNode());
    }
   
    // init main panel and do start page or direct launch
    main = new Panel("sprunmain");
    doInlineIntegration(ureq, hasEditRights);   
    putInitialPanel(main);
  }
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.