use of org.olat.core.gui.components.segmentedview.SegmentViewEvent in project openolat by klemens.
the class SimpleMessageServiceAdminController method event.
@Override
protected void event(UserRequest ureq, Component source, Event event) {
if (source == segmentView) {
if (event instanceof SegmentViewEvent) {
SegmentViewEvent sve = (SegmentViewEvent) event;
String segmentCName = sve.getComponentName();
Component clickedLink = mainVC.getComponent(segmentCName);
if (clickedLink == configurationLink) {
doOpenConfiguration(ureq);
} else if (clickedLink == statisticsLink) {
doOpenStatistics(ureq);
}
}
}
}
use of org.olat.core.gui.components.segmentedview.SegmentViewEvent in project openolat by klemens.
the class AssessedIdentityOverviewController method event.
@Override
protected void event(UserRequest ureq, Component source, Event event) {
if (source == segmentView) {
if (event instanceof SegmentViewEvent) {
SegmentViewEvent sve = (SegmentViewEvent) event;
String segmentCName = sve.getComponentName();
Component clickedLink = mainVC.getComponent(segmentCName);
if (clickedLink == checkListLink) {
doOpenCheckList(ureq);
} else if (clickedLink == assessmentLink) {
doOpenAssessment(ureq);
}
}
}
}
use of org.olat.core.gui.components.segmentedview.SegmentViewEvent in project openolat by klemens.
the class CertificatesAdminController method event.
@Override
protected void event(UserRequest ureq, Component source, Event event) {
if (source == segmentView) {
if (event instanceof SegmentViewEvent) {
SegmentViewEvent sve = (SegmentViewEvent) event;
String segmentCName = sve.getComponentName();
Component clickedLink = mainVC.getComponent(segmentCName);
if (clickedLink == settingsLink) {
doOpenSettings(ureq);
} else if (clickedLink == certificatesLink) {
doOpenCertificatesList(ureq);
}
}
}
}
use of org.olat.core.gui.components.segmentedview.SegmentViewEvent in project openolat by klemens.
the class PFRunController method event.
@Override
protected void event(UserRequest ureq, Component source, Event event) {
if (source == segmentView) {
if (event instanceof SegmentViewEvent) {
SegmentViewEvent sve = (SegmentViewEvent) event;
String segmentCName = sve.getComponentName();
Component clickedLink = mainVC.getComponent(segmentCName);
if (clickedLink == coachLink) {
doOpenCoachView(ureq);
} else if (clickedLink == participantLink) {
doOpenParticipantsView(ureq);
}
}
}
}
use of org.olat.core.gui.components.segmentedview.SegmentViewEvent in project openolat by klemens.
the class CourseRemindersController method event.
@Override
protected void event(UserRequest ureq, Component source, Event event) {
if (source == segmentView) {
if (event instanceof SegmentViewEvent) {
SegmentViewEvent sve = (SegmentViewEvent) event;
String segmentCName = sve.getComponentName();
Component clickedLink = mainVC.getComponent(segmentCName);
if (clickedLink == remindersLink) {
doOpenRemindersConfiguration(ureq);
} else if (clickedLink == logsLink) {
doOpenReminderLogs(ureq);
}
}
}
}
Aggregations