use of org.olat.course.nodes.gta.ui.events.SelectBusinessGroupEvent in project openolat by klemens.
the class GTAAssessmentDetailsController method event.
@Override
protected void event(UserRequest ureq, Controller source, Event event) {
if (groupListCtrl == source) {
if (event instanceof SelectBusinessGroupEvent) {
SelectBusinessGroupEvent selectEvent = (SelectBusinessGroupEvent) event;
doSelectBusinessGroup(ureq, selectEvent.getBusinessGroup());
backLink.setVisible(true);
}
}
super.event(ureq, source, event);
}
use of org.olat.course.nodes.gta.ui.events.SelectBusinessGroupEvent in project openolat by klemens.
the class GTACoachedGroupListController method doSelect.
private void doSelect(UserRequest ureq, BusinessGroup businessGroup) {
if (stackPanel == null) {
fireEvent(ureq, new SelectBusinessGroupEvent(businessGroup));
} else {
removeAsListenerAndDispose(coachingCtrl);
coachingCtrl = new GTACoachController(ureq, getWindowControl(), courseEnv, gtaNode, coachCourseEnv, businessGroup, true, true, true, false);
listenTo(coachingCtrl);
stackPanel.pushController(businessGroup.getName(), coachingCtrl);
}
}
use of org.olat.course.nodes.gta.ui.events.SelectBusinessGroupEvent in project OpenOLAT by OpenOLAT.
the class GTACoachSelectionController method event.
@Override
protected void event(UserRequest ureq, Controller source, Event event) {
if (groupListCtrl == source) {
if (event instanceof SelectBusinessGroupEvent) {
SelectBusinessGroupEvent selectEvent = (SelectBusinessGroupEvent) event;
doSelectBusinessGroup(ureq, selectEvent.getBusinessGroup());
backLink.setVisible(true);
}
} else if (participantListCtrl == source) {
if (event instanceof SelectIdentityEvent) {
SelectIdentityEvent selectEvent = (SelectIdentityEvent) event;
Identity selectedIdentity = securityManager.loadIdentityByKey(selectEvent.getIdentityKey());
doSelectParticipant(ureq, selectedIdentity);
backLink.setVisible(true);
}
}
super.event(ureq, source, event);
}
use of org.olat.course.nodes.gta.ui.events.SelectBusinessGroupEvent in project OpenOLAT by OpenOLAT.
the class GTACoachedGroupListController method doSelect.
private void doSelect(UserRequest ureq, BusinessGroup businessGroup) {
if (stackPanel == null) {
fireEvent(ureq, new SelectBusinessGroupEvent(businessGroup));
} else {
removeAsListenerAndDispose(coachingCtrl);
coachingCtrl = new GTACoachController(ureq, getWindowControl(), courseEnv, gtaNode, coachCourseEnv, businessGroup, true, true, true, false);
listenTo(coachingCtrl);
stackPanel.pushController(businessGroup.getName(), coachingCtrl);
}
}
use of org.olat.course.nodes.gta.ui.events.SelectBusinessGroupEvent in project OpenOLAT by OpenOLAT.
the class GTAAssessmentDetailsController method event.
@Override
protected void event(UserRequest ureq, Controller source, Event event) {
if (groupListCtrl == source) {
if (event instanceof SelectBusinessGroupEvent) {
SelectBusinessGroupEvent selectEvent = (SelectBusinessGroupEvent) event;
doSelectBusinessGroup(ureq, selectEvent.getBusinessGroup());
backLink.setVisible(true);
}
}
super.event(ureq, source, event);
}
Aggregations