Examples of GlossaryMarkupItemController


Examples of org.olat.core.gui.control.generic.textmarker.GlossaryMarkupItemController

        // seems to be removed
        return null;
      }
      VFSContainer glossaryFolder = GlossaryManager.getInstance().getGlossaryRootFolder(repoEntry.getOlatResource());
      String glossaryId = repoEntry.getOlatResource().getResourceableId().toString();
      return new GlossaryMarkupItemController(ureq, wControl, tmComponent, glossaryFolder, glossaryId);
    }
    return null;
  }
View Full Code Here

Examples of org.olat.core.gui.control.generic.textmarker.GlossaryMarkupItemController

    // repository-path-id. Gloss could work with other folders, but termMapper
    // and definitionMapper are failing, because they use the glossaryID
    // Workaround: disable this GuiDemo
    VFSContainer demoGlossFolder = (VFSContainer) locFolder.resolve(GlossaryManager.INTERNAL_FOLDER_NAME);
    String glossaryId = "guiDemoTestGlossary";
    glossCtr = new GlossaryMarkupItemController(ureq, getWindowControl(), vcMain, demoGlossFolder, glossaryId);
    glossCtr.setTextMarkingEnabled(false);
    showInfo("GuiDemoTextMarkerController.notWorking");
    this.putInitialPanel(glossCtr.getInitialComponent());
  }
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.