Search in sources :

Example 6 with AbstractLayoutAttribute

use of org.olat.course.config.ui.courselayout.attribs.AbstractLayoutAttribute in project openolat by klemens.

the class AbstractLayoutElement method prepareAttributePart.

protected void prepareAttributePart(int rel, StringBuffer sb) {
    for (AbstractLayoutAttribute attrib : availableAttributes) {
        if (StringHelper.containsNonWhitespace(attrib.getAttributeValue())) {
            sb.append("\t");
            sb.append(attrib.getRelativeCompiledAttribute(rel));
        }
    }
}
Also used : AbstractLayoutAttribute(org.olat.course.config.ui.courselayout.attribs.AbstractLayoutAttribute)

Aggregations

AbstractLayoutAttribute (org.olat.course.config.ui.courselayout.attribs.AbstractLayoutAttribute)6 HashMap (java.util.HashMap)2 LinkedHashMap (java.util.LinkedHashMap)2 Map (java.util.Map)2 FormItem (org.olat.core.gui.components.form.flexible.FormItem)2 AbstractLayoutElement (org.olat.course.config.ui.courselayout.elements.AbstractLayoutElement)2