use of org.olat.core.gui.components.image.ImageFormItem in project openolat by klemens.
the class FileElementImpl method setPreview.
@Override
public void setPreview(UserSession usess, boolean enable) {
if (enable) {
previewEl = new ImageFormItem(usess, this.getName() + "_PREVIEW");
previewEl.setRootForm(getRootForm());
} else {
previewEl = null;
}
}
Aggregations