use of org.olat.portfolio.ui.artefacts.edit.EPTagsController in project OpenOLAT by OpenOLAT.
the class EPArtefactViewOptionsLinkController method event.
@Override
protected void event(UserRequest ureq, Component source, Event event) {
if (source == optionLink) {
popUpArtefactOptionsBox(ureq);
} else if (source == unlinkLink) {
closeArtefactOptionsCallout();
struct = ePFMgr.removeArtefactFromStructure(artefact, struct);
// refresh ui
fireEvent(ureq, new EPStructureChangeEvent(EPStructureChangeEvent.REMOVED, struct));
} else if (source == moveLink) {
closeArtefactOptionsCallout();
showMoveTree(ureq);
} else if (source == reflexionLink) {
closeArtefactOptionsCallout();
reflexionCtrl = new EPReflexionWrapperController(ureq, getWindowControl(), secCallback, artefact, struct);
listenTo(reflexionCtrl);
} else if (source == tagsLink) {
closeArtefactOptionsCallout();
tagsCtrl = new EPTagsController(ureq, getWindowControl(), secCallback, artefact, struct);
listenTo(tagsCtrl);
}
}
use of org.olat.portfolio.ui.artefacts.edit.EPTagsController in project openolat by klemens.
the class EPArtefactViewOptionsLinkController method event.
@Override
protected void event(UserRequest ureq, Component source, Event event) {
if (source == optionLink) {
popUpArtefactOptionsBox(ureq);
} else if (source == unlinkLink) {
closeArtefactOptionsCallout();
struct = ePFMgr.removeArtefactFromStructure(artefact, struct);
// refresh ui
fireEvent(ureq, new EPStructureChangeEvent(EPStructureChangeEvent.REMOVED, struct));
} else if (source == moveLink) {
closeArtefactOptionsCallout();
showMoveTree(ureq);
} else if (source == reflexionLink) {
closeArtefactOptionsCallout();
reflexionCtrl = new EPReflexionWrapperController(ureq, getWindowControl(), secCallback, artefact, struct);
listenTo(reflexionCtrl);
} else if (source == tagsLink) {
closeArtefactOptionsCallout();
tagsCtrl = new EPTagsController(ureq, getWindowControl(), secCallback, artefact, struct);
listenTo(tagsCtrl);
}
}
Aggregations