use of org.olat.repository.ui.author.RepositoryEditDescriptionController in project OpenOLAT by OpenOLAT.
the class RepositoryEntryRuntimeController method doEditSettings.
/**
* Open the editor for all repository entry metadata, access control...
* @param ureq
*/
protected void doEditSettings(UserRequest ureq) {
if (!reSecurity.isEntryAdmin())
return;
WindowControl bwControl = getSubWindowControl("Settings");
RepositoryEntry refreshedEntry = loadRepositoryEntry();
RepositoryEditDescriptionController ctrl = new RepositoryEditDescriptionController(ureq, addToHistory(ureq, bwControl), refreshedEntry);
listenTo(ctrl);
descriptionCtrl = pushController(ureq, translate("settings.editor"), ctrl);
currentToolCtr = descriptionCtrl;
setActiveTool(editDescriptionLink);
}
use of org.olat.repository.ui.author.RepositoryEditDescriptionController in project openolat by klemens.
the class RepositoryEntryRuntimeController method doEditSettings.
/**
* Open the editor for all repository entry metadata, access control...
* @param ureq
*/
protected void doEditSettings(UserRequest ureq) {
if (!reSecurity.isEntryAdmin())
return;
WindowControl bwControl = getSubWindowControl("Settings");
RepositoryEntry refreshedEntry = loadRepositoryEntry();
RepositoryEditDescriptionController ctrl = new RepositoryEditDescriptionController(ureq, addToHistory(ureq, bwControl), refreshedEntry);
listenTo(ctrl);
descriptionCtrl = pushController(ureq, translate("settings.editor"), ctrl);
currentToolCtr = descriptionCtrl;
setActiveTool(editDescriptionLink);
}
Aggregations