Search in sources :

Example 1 with CatalogSettingsController

use of org.olat.repository.ui.author.CatalogSettingsController in project OpenOLAT by OpenOLAT.

the class RepositoryEntryRuntimeController method doCatalog.

/**
 * Internal helper to initiate the add to catalog workflow
 * @param ureq
 */
protected void doCatalog(UserRequest ureq) {
    if (!reSecurity.isEntryAdmin())
        return;
    popToRoot(ureq).cleanUp();
    WindowControl bwControl = getSubWindowControl("Catalog");
    catalogCtlr = new CatalogSettingsController(ureq, addToHistory(ureq, bwControl), toolbarPanel, re);
    listenTo(catalogCtlr);
    catalogCtlr.initToolbar();
    currentToolCtr = catalogCtlr;
    setActiveTool(catalogLink);
}
Also used : CatalogSettingsController(org.olat.repository.ui.author.CatalogSettingsController) WindowControl(org.olat.core.gui.control.WindowControl)

Example 2 with CatalogSettingsController

use of org.olat.repository.ui.author.CatalogSettingsController in project openolat by klemens.

the class RepositoryEntryRuntimeController method doCatalog.

/**
 * Internal helper to initiate the add to catalog workflow
 * @param ureq
 */
protected void doCatalog(UserRequest ureq) {
    if (!reSecurity.isEntryAdmin())
        return;
    popToRoot(ureq).cleanUp();
    WindowControl bwControl = getSubWindowControl("Catalog");
    catalogCtlr = new CatalogSettingsController(ureq, addToHistory(ureq, bwControl), toolbarPanel, re);
    listenTo(catalogCtlr);
    catalogCtlr.initToolbar();
    currentToolCtr = catalogCtlr;
    setActiveTool(catalogLink);
}
Also used : CatalogSettingsController(org.olat.repository.ui.author.CatalogSettingsController) WindowControl(org.olat.core.gui.control.WindowControl)

Aggregations

WindowControl (org.olat.core.gui.control.WindowControl)2 CatalogSettingsController (org.olat.repository.ui.author.CatalogSettingsController)2