private void closeTagsCallout() { if (moreTagsCalloutCtrl != null) { moreTagsCalloutCtrl.deactivate(); removeAsListenerAndDispose(moreTagsCalloutCtrl); moreTagsCalloutCtrl = null; } }
private void popupTagsCallout(final UserRequest ureq) { final String title = translate("filter.tag"); removeAsListenerAndDispose(moreTagsCtlr); moreTagsCtlr = new EPArtefactTagSelectionController(ureq, getWindowControl(), selectedTagsList); listenTo(moreTagsCtlr); removeAsListenerAndDispose(moreTagsCalloutCtrl); moreTagsCalloutCtrl = new CloseableCalloutWindowController( ureq, getWindowControl(), moreTagsCtlr.getInitialComponent(), (FormLink) tagEditBtn, title, true, null); listenTo(moreTagsCalloutCtrl); moreTagsCalloutCtrl.activate(); }