Gephi Toolkit Javadoc

org.gephi.project.io
Class SaveTask

java.lang.Object
  extended by org.gephi.project.io.SaveTask
All Implemented Interfaces:
java.lang.Runnable, LongTask

public class SaveTask
extends java.lang.Object
implements LongTask, java.lang.Runnable

Author:
Mathieu Bastian

Constructor Summary
SaveTask(Project project, java.io.File file)
           
 
Method Summary
 boolean cancel()
          Cancel the task.
 void run()
           
 void setProgressTicket(ProgressTicket progressTicket)
          Set the progress ticket for the long task.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SaveTask

public SaveTask(Project project,
                java.io.File file)
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable

cancel

public boolean cancel()
Description copied from interface: LongTask
Cancel the task. Returns true if the task has been sucessfully cancelled, false otherwise.

Specified by:
cancel in interface LongTask
Returns:
true if the task has been sucessfully cancelled, false otherwise

setProgressTicket

public void setProgressTicket(ProgressTicket progressTicket)
Description copied from interface: LongTask
Set the progress ticket for the long task. Can't be null.

Specified by:
setProgressTicket in interface LongTask
Parameters:
progressTicket - the progress ticket for this task

Gephi Toolkit Javadoc