Search in sources :

Example 1 with RepositoryEntrySmallDetailsController

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

the class RepositorySearchController 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)

Example 2 with RepositoryEntrySmallDetailsController

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

the class BusinessGroupEditResourceController 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)

Example 3 with RepositoryEntrySmallDetailsController

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

the class RepositorySearchController 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)

Example 4 with RepositoryEntrySmallDetailsController

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

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)

Example 5 with RepositoryEntrySmallDetailsController

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

the class BusinessGroupEditResourceController 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