use of org.olat.repository.ui.catalog.CatalogEntryAddController in project OpenOLAT by OpenOLAT.
the class CatalogSettingsController method doAddCatalog.
/**
* Internal helper to initiate the add to catalog workflow
* @param ureq
*/
private void doAddCatalog(UserRequest ureq) {
removeAsListenerAndDispose(catalogAdddController);
removeAsListenerAndDispose(cmc);
catalogAdddController = new CatalogEntryAddController(ureq, getWindowControl(), entry, true, false);
listenTo(catalogAdddController);
cmc = new CloseableModalController(getWindowControl(), "close", catalogAdddController.getInitialComponent(), true, translate("details.catadd"));
listenTo(cmc);
cmc.activate();
}
use of org.olat.repository.ui.catalog.CatalogEntryAddController in project openolat by klemens.
the class CatalogSettingsController method doAddCatalog.
/**
* Internal helper to initiate the add to catalog workflow
* @param ureq
*/
private void doAddCatalog(UserRequest ureq) {
removeAsListenerAndDispose(catalogAdddController);
removeAsListenerAndDispose(cmc);
catalogAdddController = new CatalogEntryAddController(ureq, getWindowControl(), entry, true, false);
listenTo(catalogAdddController);
cmc = new CloseableModalController(getWindowControl(), "close", catalogAdddController.getInitialComponent(), true, translate("details.catadd"));
listenTo(cmc);
cmc.activate();
}
Aggregations