Search in sources :

Example 1 with MenuTreeItem

use of org.olat.core.gui.components.tree.MenuTreeItem in project openolat by klemens.

the class FormUIFactory method addTreeMultiselect.

public MenuTreeItem addTreeMultiselect(String name, String i18nLabel, FormItemContainer formLayout, TreeModel treemodel, ComponentEventListener listener) {
    MenuTreeItem mse = new MenuTreeItem(name, listener);
    mse.setTreeModel(treemodel);
    setLabelIfNotNull(i18nLabel, mse);
    formLayout.add(mse);
    return mse;
}
Also used : MenuTreeItem(org.olat.core.gui.components.tree.MenuTreeItem)

Example 2 with MenuTreeItem

use of org.olat.core.gui.components.tree.MenuTreeItem in project OpenOLAT by OpenOLAT.

the class FormUIFactory method addTreeMultiselect.

public MenuTreeItem addTreeMultiselect(String name, String i18nLabel, FormItemContainer formLayout, TreeModel treemodel, ComponentEventListener listener) {
    MenuTreeItem mse = new MenuTreeItem(name, listener);
    mse.setTreeModel(treemodel);
    setLabelIfNotNull(i18nLabel, mse);
    formLayout.add(mse);
    return mse;
}
Also used : MenuTreeItem(org.olat.core.gui.components.tree.MenuTreeItem)

Aggregations

MenuTreeItem (org.olat.core.gui.components.tree.MenuTreeItem)2