Uses of Interface
org.cytoscape.work.TaskObserver
Package
Description
Interface to support execution of tasks as commands, including
the ability to get a list of namespaces, commands, and arguments,
and then execute those commands with a set of arguments.
This package contains a set of task factory interfaces for reading
various Cytoscape objects from files and URLs.
This package defines the task framework, where tasks are units of work.
-
Uses of TaskObserver in org.cytoscape.application.swing.search
Modifier and TypeMethodDescriptionAbstractNetworkSearchTaskFactory.getTaskObserver()
NetworkSearchTaskFactory.getTaskObserver()
If you want to be notified when the search task is finished, you should return a TaskObserver here. -
Uses of TaskObserver in org.cytoscape.command
Modifier and TypeMethodDescriptionCommandExecutorTaskFactory.createTaskIterator(File commandFile, TaskObserver observer)
Creates a task iterator that will execute the specified commands.CommandExecutorTaskFactory.createTaskIterator(String namespace, String command, Map<String,Object> args, TaskObserver observer)
Creates a task iterator that will execute the specified command.CommandExecutorTaskFactory.createTaskIterator(List<String> commands, TaskObserver observer)
Creates a task iterator that will execute the specified commands.CommandExecutorTaskFactory.createTaskIterator(TaskObserver observer, String... commands)
Creates a task iterator that will execute the specified commands. -
Uses of TaskObserver in org.cytoscape.task.read
Modifier and TypeMethodDescriptionLoadNetworkFileTaskFactory.createTaskIterator(File file, TaskObserver observer)
Creates a task iterator for loading a network from a file.LoadNetworkURLTaskFactory.createTaskIterator(URL url, TaskObserver observer)
Creates a task iterator for loading a URL into a network.LoadVizmapFileTaskFactory.createTaskIterator(File file, TaskObserver observer)
Creates a task iterator for loading files into visual styles. -
Uses of TaskObserver in org.cytoscape.work
Modifier and TypeMethodDescriptionTunableSetter.createTaskIterator(TaskIterator taskIterator, Map<String,Object> tunableValues, TaskObserver observer)
This version of createTaskIterator adds a TaskObserver argument.void
TaskManager.execute(TaskIterator iterator, TaskObserver observer)