ShowQueueAction queue = new ShowQueueAction(window, queueApi);
queue.setPageDisplayer(pd);
actions.add(queue);
}
if (opHistoryApi != null && sourceHistoryApi != null) {
ShowHistoryAction history = new ShowHistoryAction(window, opHistoryApi, sourceHistoryApi);
history.setPageDisplayer(pd);
actions.add(history);
}
WindowElementResource disposables = new DisposableWindowElementResource(actions);
page.addResource(disposables);
return actions;