use of org.cytoscape.application.swing.search.NetworkSearchTaskFactory in project cytoscape-impl by cytoscape.
the class NetworkSearchMediator method runSearch.
private void runSearch() {
NetworkSearchTaskFactory tf = networkSearchBar.getSelectedProvider();
if (tf != null && tf.isReady()) {
DialogTaskManager taskManager = serviceRegistrar.getService(DialogTaskManager.class);
TaskObserver taskObserver = tf.getTaskObserver();
if (taskObserver != null)
taskManager.execute(tf.createTaskIterator(), taskObserver);
else
taskManager.execute(tf.createTaskIterator());
}
}
Aggregations