Package org.olat.course.nodes

Examples of org.olat.course.nodes.DialogCourseNode


          throw new OLATRuntimeException(DialogElementsController.class, "Error while adding new 'file discussion' element with filename: "+filename, e);
        }
      }
    } else if (source == confirmDeletionCtr) {
      if (DialogBoxUIFactory.isYesEvent(event)) {
        DialogCourseNode node = (DialogCourseNode) courseNode;
        // archive data to personal folder
        node.doArchiveElement(selectedElement, CourseFactory.getOrCreateDataExportDirectory(ureq.getIdentity(), node.getShortTitle()));
        // delete element
        dialogElmsMgr.deleteDialogElement(coursePropMgr, courseNode, selectedElement.getForumKey());
        forumMgr.deleteForum(selectedElement.getForumKey());
        showOverviewTable(ureq, forumCallback);
        content.contextPut("hasSelectedElement", Boolean.FALSE);
View Full Code Here


      else if (menuCommand.equals(CMD_FORUMS)) {
        this.contentCtr = new GenericArchiveController(ureq, getWindowControl(), ores, new FOCourseNode());
        main.setContent(contentCtr.getInitialComponent());
      }
      else if (menuCommand.equals(CMD_DIALOGS)) {
        this.contentCtr = new GenericArchiveController(ureq, getWindowControl(), ores, new DialogCourseNode());
        main.setContent(contentCtr.getInitialComponent());
      }
      else if (menuCommand.equals(CMD_WIKIS)) {
        this.contentCtr = new GenericArchiveController(ureq, getWindowControl(), ores, new WikiCourseNode());
        main.setContent(contentCtr.getInitialComponent());
View Full Code Here

  /**
   * @see org.olat.course.nodes.CourseNodeConfiguration#getInstance()
   */
  public CourseNode getInstance() {
    return new DialogCourseNode();
  }
View Full Code Here

TOP

Related Classes of org.olat.course.nodes.DialogCourseNode

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.