Search in sources :

Example 1 with InstallAppsFromWebAppTask

use of org.cytoscape.app.internal.task.InstallAppsFromWebAppTask in project cytoscape-impl by cytoscape.

the class InstallAppsPanel method installButtonActionPerformed.

private void installButtonActionPerformed(ActionEvent evt) {
    final WebQuerier webQuerier = appManager.getWebQuerier();
    taskManager.setExecutionContext(parent);
    taskManager.execute(new TaskIterator(new InstallAppsFromWebAppTask(Collections.singletonList(selectedApp), appManager, true)));
}
Also used : TaskIterator(org.cytoscape.work.TaskIterator) InstallAppsFromWebAppTask(org.cytoscape.app.internal.task.InstallAppsFromWebAppTask) WebQuerier(org.cytoscape.app.internal.net.WebQuerier)

Aggregations

WebQuerier (org.cytoscape.app.internal.net.WebQuerier)1 InstallAppsFromWebAppTask (org.cytoscape.app.internal.task.InstallAppsFromWebAppTask)1 TaskIterator (org.cytoscape.work.TaskIterator)1