// textMarkerCtr must be created before the toolC!
CourseConfig cc = uce.getCourseEnvironment().getCourseConfig();
glossaryMarkerCtr = CourseGlossaryFactory.createGlossaryMarkupWrapper(ureq, wControl, contentP, cc);
boolean hasGlossaryRights = hasCourseRight(CourseRights.RIGHT_GLOSSARY) || isCourseAdmin;
glossaryToolCtr = new CourseGlossaryToolLinkController(getWindowControl(), ureq, course, getTranslator(), hasGlossaryRights,
uce.getCourseEnvironment(), glossaryMarkerCtr);
listenTo(glossaryToolCtr);
// init the menu and tool controller
toolC = initToolController(identity, ureq);
Component toolComp = (toolC == null ? null : toolC.getInitialComponent());