Search in sources :

Example 11 with MediaPart

use of org.olat.modules.portfolio.model.MediaPart in project OpenOLAT by OpenOLAT.

the class CollectTextMediaController method getPageElement.

@Override
public PageElement getPageElement() {
    MediaPart part = new MediaPart();
    part.setMedia(mediaReference);
    return part;
}
Also used : MediaPart(org.olat.modules.portfolio.model.MediaPart)

Example 12 with MediaPart

use of org.olat.modules.portfolio.model.MediaPart in project openolat by klemens.

the class CollectTextMediaController method getPageElement.

@Override
public PageElement getPageElement() {
    MediaPart part = new MediaPart();
    part.setMedia(mediaReference);
    return part;
}
Also used : MediaPart(org.olat.modules.portfolio.model.MediaPart)

Example 13 with MediaPart

use of org.olat.modules.portfolio.model.MediaPart in project openolat by klemens.

the class CollectVideoMediaController method getPageElement.

@Override
public PageElement getPageElement() {
    MediaPart part = new MediaPart();
    part.setMedia(mediaReference);
    return part;
}
Also used : MediaPart(org.olat.modules.portfolio.model.MediaPart)

Example 14 with MediaPart

use of org.olat.modules.portfolio.model.MediaPart in project openolat by klemens.

the class CollectCitationMediaController method getPageElement.

@Override
public PageElement getPageElement() {
    MediaPart part = new MediaPart();
    part.setMedia(mediaReference);
    return part;
}
Also used : MediaPart(org.olat.modules.portfolio.model.MediaPart)

Aggregations

MediaPart (org.olat.modules.portfolio.model.MediaPart)14 Test (org.junit.Test)2 Identity (org.olat.core.id.Identity)2 Binder (org.olat.modules.portfolio.Binder)2 Media (org.olat.modules.portfolio.Media)2 Page (org.olat.modules.portfolio.Page)2 PageBody (org.olat.modules.portfolio.PageBody)2 Section (org.olat.modules.portfolio.Section)2 BinderPageUsage (org.olat.modules.portfolio.model.BinderPageUsage)2