Examples of SelectionTree


Examples of org.olat.core.gui.components.tree.SelectionTree

    folderComponent.addListener(this);
    folderContainer.put("foldercomp", folderComponent);
    if (WebDAVManager.getInstance().isEnabled() && displayWebDAVLink)
      folderContainer.contextPut("webdavlink", FolderManager.getWebDAVLink());

    selTree = new SelectionTree("seltree", getTranslator());
    selTree.addListener(this);
    folderContainer.put("seltree", selTree);

    // jump to either the forum or the folder if the business-launch-path says so.
    ContextEntry ce = bc.popLauncherContextEntry();
View Full Code Here

Examples of org.olat.core.gui.components.tree.SelectionTree

    //check if command is executed on a file list containing invalid filenames or paths
    if(fileSelection.getInvalidFileNames().size()>0) {   
      main.contextPut("invalidFileNames", fileSelection.getInvalidFileNames());
    }   

    selTree = new SelectionTree("seltree", trans);
    selTree.setFormButtonKey(move ? "move" : "copy");
    selTree.setActionCommand(COMMAND_PROCESS_MOVE);
    FolderTreeModel ftm = new FolderTreeModel(ureq.getLocale(), fc.getRootContainer(),
        true, false, true, fc.getRootContainer().canWrite() == VFSConstants.YES, null);
    selTree.setTreeModel(ftm);
View Full Code Here

Examples of org.olat.core.gui.components.tree.SelectionTree

    ICourse course = CourseFactory.getCourseEditSession(ores.getResourceableId());
    addLoggingResourceable(LoggingResourceable.wrap(course));
    addLoggingResourceable(LoggingResourceable.wrap(moveCopyFrom.getCourseNode()));

    insertTree = new SelectionTree("copy_node_selection", getTranslator());
    insertTree.setFormButtonKey("insertAtSelectedTreepos");
    insertTree.addListener(this);
    insertModel = new InsertTreeModel(course.getEditorTreeModel());
    insertTree.setTreeModel(insertModel);   
   
View Full Code Here

Examples of org.olat.core.gui.components.tree.SelectionTree

    this.moveMe = moveMe;
    List<CatalogEntry> ownedEntries = getOwnedEntries(ureq);
    List<CatalogEntry> catEntryList = fetchChildren(ownedEntries);

    mainVC = createVelocityContainer("catMove");
    selectionTree = new SelectionTree("catSelection", trans);
    selectionTree.addListener(this);
    selectionTree.setMultiselect(false);
    selectionTree.setFormButtonKey("cat.move.submit");
    selectionTree.setShowCancelButton(true);
    selectionTree.setTreeModel(new CatalogTreeModel(catEntryList, moveMe, ownedEntries));
View Full Code Here

Examples of org.olat.core.gui.components.tree.SelectionTree

    super(ureq, wControl);
    this.toBeAddedEntry = toBeAddedEntry;
    List<CatalogEntry> catEntryList = CatalogManager.getInstance().getAllCatalogNodes();

    mainVC = createVelocityContainer("catMove");
    selectionTree = new SelectionTree("catSelection", getTranslator());
    selectionTree.addListener(this);
    selectionTree.setMultiselect(false);
    selectionTree.setFormButtonKey("cat.move.submit");
    selectionTree.setShowCancelButton(true);
    selectionTree.setTreeModel(new CatalogTreeModel(catEntryList, null, null));
View Full Code Here

Examples of org.olat.core.gui.components.tree.SelectionTree

 
  public void event(UserRequest ureq, Component source, Event event) {
    if (source == searchForm) {
      mainVC.contextPut("displayBackLink", Boolean.TRUE);
      if (event == Form.EVNT_VALIDATION_OK) {
        eventSelectionTree = new SelectionTree("eventSelection", getTranslator());
        eventSelectionTree.addListener(this);
        eventSelectionTree.setFormButtonKey("cal.goto.event");
        eventSelectionTree.setShowCancelButton(true);
        eventSelectionTree.setMultiselect(false);
        eventSelectionTree.setShowAltTextAsHoverOnTitle(true);
View Full Code Here

Examples of org.olat.core.gui.components.tree.SelectionTree

        getWindowControl().setInfo(translate(NLS_PUBLISHED_LATEST, Formatter.getInstance(ureq.getLocale()).formatDateAndTime(d)));
      }
      menuTree.setTreeModel(cetm);
      menuTree.addListener(this);

      selTree = new SelectionTree("selection", getTranslator());
      selTree.setTreeModel(cetm);
      selTree.setActionCommand("processpublish");
      selTree.setFormButtonKey("publizieren");
      selTree.addListener(this);
View Full Code Here

Examples of org.olat.core.gui.components.tree.SelectionTree

  public InsertNodeController(UserRequest ureq, WindowControl wControl, OLATResourceable ores, String type) {
    super(ureq, wControl);
    this.ores = ores;
    this.type = type;

    insertTree = new SelectionTree("insert_new_node_selection", getTranslator());
    insertTree.setFormButtonKey("insertAtSelectedTreepos");
    insertTree.addListener(this);
    ICourse course = CourseFactory.getCourseEditSession(ores.getResourceableId());
    insertModel = new InsertTreeModel(course.getEditorTreeModel());
    insertTree.setTreeModel(insertModel);   
View Full Code Here

Examples of org.olat.core.gui.components.tree.SelectionTree

    repositoryEntry = RepositoryManager.getInstance().lookupRepositoryEntry(course, false);
    accessForm = new AccessForm("accessForm", repositoryEntry, new PackageTranslator(ACCESS_PACKAGE, ureq.getLocale(),getTranslator()));
    accessForm.addListener(this);
    main.put("accessForm", accessForm);
   
    selectionTree = new SelectionTree("selTree", getTranslator());
//REFACTOR  selectionTree.setTreeModel(publishTreeModel);
    selectionTree.setMultiselect(true);
    selectionTree.setActionCommand(ACTION_PUBLISH);
    selectionTree.setFormButtonKey("command.publish");
    selectionTree.setGreyOutNonSelectableEntries(true);
View Full Code Here

Examples of org.olat.core.gui.components.tree.SelectionTree

  public CourseLinkProviderController(ICourse course, UserRequest ureq, WindowControl wControl) {
    super(ureq, wControl, new PackageTranslator(Util.getPackageName(CalendarManager.class), ureq.getLocale()));
    this.ores = course;
    setVelocityRoot(Util.getPackageVelocityRoot(CalendarManager.class))
    clpVC = createVelocityContainer("calCLP")
    selectionTree = new SelectionTree("clpTree", getTranslator());
    selectionTree.addListener(this);
    selectionTree.setMultiselect(true);
    selectionTree.setAllowEmptySelection(true);
    selectionTree.setShowCancelButton(true);
    selectionTree.setFormButtonKey(CAL_LINKS_SUBMIT);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.