Search in sources :

Example 1 with MediaSelectionEvent

use of org.olat.modules.portfolio.ui.event.MediaSelectionEvent in project OpenOLAT by OpenOLAT.

the class MediaCenterController method doSelect.

private void doSelect(UserRequest ureq, Long mediaKey) {
    Media media = portfolioService.getMediaByKey(mediaKey);
    fireEvent(ureq, new MediaSelectionEvent(media));
}
Also used : MediaSelectionEvent(org.olat.modules.portfolio.ui.event.MediaSelectionEvent) Media(org.olat.modules.portfolio.Media)

Example 2 with MediaSelectionEvent

use of org.olat.modules.portfolio.ui.event.MediaSelectionEvent in project openolat by klemens.

the class MediaCenterController method doSelect.

private void doSelect(UserRequest ureq, Long mediaKey) {
    Media media = portfolioService.getMediaByKey(mediaKey);
    fireEvent(ureq, new MediaSelectionEvent(media));
}
Also used : MediaSelectionEvent(org.olat.modules.portfolio.ui.event.MediaSelectionEvent) Media(org.olat.modules.portfolio.Media)

Aggregations

Media (org.olat.modules.portfolio.Media)2 MediaSelectionEvent (org.olat.modules.portfolio.ui.event.MediaSelectionEvent)2