Cytoscape 2.5.1 (c) 2006,2007 ISB, MSKCC, UCSD

cytoscape.actions
Class LoadNetworkTask

java.lang.Object
  extended by cytoscape.actions.LoadNetworkTask
All Implemented Interfaces:
cytoscape.task.Haltable, cytoscape.task.Task, Runnable

public class LoadNetworkTask
extends Object
implements cytoscape.task.Task

Task to load a new network.


Method Summary
 String getTitle()
          Gets the Task Title.
 void halt()
          Halts the Task: Not Currently Implemented.
static void loadFile(File file, boolean skipMessage)
          DOCUMENT ME!
static void loadURL(URL u, boolean skipMessage)
          DOCUMENT ME!
 void run()
          Executes Task.
 void setTaskMonitor(cytoscape.task.TaskMonitor taskMonitor)
          Sets the Task Monitor.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

loadURL

public static void loadURL(URL u,
                           boolean skipMessage)
DOCUMENT ME!

Parameters:
u - DOCUMENT ME!
skipMessage - DOCUMENT ME!

loadFile

public static void loadFile(File file,
                            boolean skipMessage)
DOCUMENT ME!

Parameters:
file - DOCUMENT ME!
skipMessage - DOCUMENT ME!

run

public void run()
Executes Task.

Specified by:
run in interface cytoscape.task.Task
Specified by:
run in interface Runnable

halt

public void halt()
Halts the Task: Not Currently Implemented.

Specified by:
halt in interface cytoscape.task.Haltable
Specified by:
halt in interface cytoscape.task.Task

setTaskMonitor

public void setTaskMonitor(cytoscape.task.TaskMonitor taskMonitor)
                    throws IllegalThreadStateException
Sets the Task Monitor.

Specified by:
setTaskMonitor in interface cytoscape.task.Task
Parameters:
taskMonitor - TaskMonitor Object.
Throws:
IllegalThreadStateException

getTitle

public String getTitle()
Gets the Task Title.

Specified by:
getTitle in interface cytoscape.task.Task
Returns:
Task Title.

www.cytoscape.org