Package org.olat.commons.file.filechooser

Examples of org.olat.commons.file.filechooser.LinkChooseCreateEditController


    }

  }

  private void addStartEditorToView(UserRequest ureq) {
    this.fccecontr = new LinkChooseCreateEditController(ureq, getWindowControl(), chosenFile, allowRelativeLinks, courseFolderContainer, new CourseInternalLinkTreeModel(editorModel) );   
    this.listenTo(fccecontr);

    fccePanel = new Panel("filechoosecreateedit");
    Component fcContent = fccecontr.getInitialComponent();
    fccePanel.setContent(fcContent);
View Full Code Here


    String chosenFile = (String) config.get(CONFIG_KEY_FILE);
    iframeForm.forceIframe(chosenFile);
   
    allowRelativeLinks  = moduleConfiguration.getBooleanEntry(CONFIG_KEY_ALLOW_RELATIVE_LINKS);

    fccecontr = new LinkChooseCreateEditController(ureq, getWindowControl(), chosenFile, allowRelativeLinks, course.getCourseFolderContainer(), new CourseInternalLinkTreeModel(course.getEditorTreeModel()) );   
    this.listenTo(fccecontr);
    fccecontr.setIframeEnabled(useIframe);
    if (useIframe) {
      fccecontr.setAllFileSuffixesAllowed(true);
    } else {
View Full Code Here

    String target = "qti";
    allowRelativeLinks  = moduleConfiguration.getBooleanEntry(CONFIG_KEY_ALLOW_RELATIVE_LINKS);
    if(allowRelativeLinks==null){
      allowRelativeLinks=Boolean.FALSE;
    }
    fccecontr = new LinkChooseCreateEditController(ureq, wControl, disclaimer, allowRelativeLinks, course.getCourseFolderContainer(), target, legend, new CourseInternalLinkTreeModel(course.getEditorTreeModel()) );   
    this.listenTo(fccecontr);
   
    Component fcContent = fccecontr.getInitialComponent();
    myContent.put("filechoosecreateedit", fcContent);
   
View Full Code Here

TOP

Related Classes of org.olat.commons.file.filechooser.LinkChooseCreateEditController

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.