* org.olat.core.gui.control.Event)
*/
public void event(UserRequest ureq, Component source, Event event) {
ICourse course = CourseFactory.loadCourse(ores);
if (source == reattachButton) {
searchController = new ReferencableEntriesSearchController(getWindowControl(), ureq, GlossaryResource.TYPE_NAME, getTranslator()
.translate("command.linkresource"));
searchController.addControllerListener(this);
main.setContent(ComponentUtil.createTitledComponent("command.linkresource", null, getTranslator(), searchController.getInitialComponent()));
} else if (source == importButton) {
RepositoryEntry importedRepositoryEntry = doImport(importExport, course, false, ureq.getIdentity());