use of org.cytoscape.app.internal.task.InstallUpdatesTask in project cytoscape-impl by cytoscape.
the class CheckForUpdatesPanel method installUpdates.
private void installUpdates(final Set<Update> updates) {
TaskIterator ti = new TaskIterator();
ti.append(new InstallUpdatesTask(updates, appManager));
taskManager.execute(ti, new TaskObserver() {
@Override
public void taskFinished(ObservableTask task) {
}
@Override
public void allFinished(FinishStatus finishStatus) {
checkUpdates();
}
});
}
Aggregations