Search in sources :

Example 6 with RepositoryEntrySmallDetailsController

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

the class BGConfigResourcesStepController method doOpenInfos.

private void doOpenInfos(UserRequest ureq, RepositoryEntry repositoryEntry, int rowId) {
    removeAsListenerAndDispose(calloutCtrl);
    removeAsListenerAndDispose(infosCtrl);
    infosCtrl = new RepositoryEntrySmallDetailsController(ureq, getWindowControl(), repositoryEntry);
    listenTo(infosCtrl);
    calloutCtrl = new CloseableCalloutWindowController(ureq, getWindowControl(), infosCtrl.getInitialComponent(), "ore" + rowId + "ref", null, true, null);
    listenTo(calloutCtrl);
    calloutCtrl.activate();
}
Also used : CloseableCalloutWindowController(org.olat.core.gui.control.generic.closablewrapper.CloseableCalloutWindowController) RepositoryEntrySmallDetailsController(org.olat.repository.ui.author.RepositoryEntrySmallDetailsController)

Aggregations

CloseableCalloutWindowController (org.olat.core.gui.control.generic.closablewrapper.CloseableCalloutWindowController)6 RepositoryEntrySmallDetailsController (org.olat.repository.ui.author.RepositoryEntrySmallDetailsController)6