use of org.olat.repository.ui.author.CopyRepositoryEntryController in project OpenOLAT by OpenOLAT.
the class RepositoryEntryRuntimeController method doCopy.
private void doCopy(UserRequest ureq) {
removeAsListenerAndDispose(cmc);
removeAsListenerAndDispose(copyCtrl);
copyCtrl = new CopyRepositoryEntryController(ureq, getWindowControl(), re);
listenTo(copyCtrl);
String title = translate("details.copy");
cmc = new CloseableModalController(getWindowControl(), translate("close"), copyCtrl.getInitialComponent(), true, title);
listenTo(cmc);
cmc.activate();
}
use of org.olat.repository.ui.author.CopyRepositoryEntryController in project openolat by klemens.
the class RepositoryEntryRuntimeController method doCopy.
private void doCopy(UserRequest ureq) {
removeAsListenerAndDispose(cmc);
removeAsListenerAndDispose(copyCtrl);
copyCtrl = new CopyRepositoryEntryController(ureq, getWindowControl(), re);
listenTo(copyCtrl);
String title = translate("details.copy");
cmc = new CloseableModalController(getWindowControl(), translate("close"), copyCtrl.getInitialComponent(), true, title);
listenTo(cmc);
cmc.activate();
}
Aggregations