net.sourceforge.hivegui.command
Class AbstractApplicationTask<T,V>

java.lang.Object
  extended by org.jdesktop.swingworker.SwingWorker<T,V>
      extended by org.jdesktop.application.Task<T,V>
          extended by net.sourceforge.hivegui.command.AbstractApplicationTask<T,V>
All Implemented Interfaces:
java.lang.Runnable, java.util.concurrent.Future<T>

public abstract class AbstractApplicationTask<T,V>
extends org.jdesktop.application.Task<T,V>

Author:
Jean-Francois Poilpret

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jdesktop.application.Task
org.jdesktop.application.Task.BlockingScope, org.jdesktop.application.Task.InputBlocker
 
Nested classes/interfaces inherited from class org.jdesktop.swingworker.SwingWorker
org.jdesktop.swingworker.SwingWorker.StateValue
 
Field Summary
protected  HiveGuiApplicationMain _application
           
protected  GenericDialog _dialog
           
 
Constructor Summary
AbstractApplicationTask(HiveGuiApplicationMain application)
           
AbstractApplicationTask(HiveGuiApplicationMain application, GenericDialog parent)
           
 
Method Summary
protected  void succeeded(T result)
           
 
Methods inherited from class org.jdesktop.application.Task
addTaskListener, cancelled, done, failed, finished, getApplication, getContext, getDescription, getExecutionDuration, getInputBlocker, getMessage, getMessageDuration, getResourceMap, getTaskListeners, getTaskService, getTitle, getUserCanCancel, interrupted, isPending, isProgressPropertyValid, isStarted, message, process, removeTaskListener, resourceName, setDescription, setInputBlocker, setMessage, setProgress, setProgress, setProgress, setTitle, setUserCanCancel
 
Methods inherited from class org.jdesktop.swingworker.SwingWorker
addPropertyChangeListener, cancel, doInBackground, execute, firePropertyChange, get, get, getProgress, getPropertyChangeSupport, getState, isCancelled, isDone, publish, removePropertyChangeListener, run, setProgress
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_application

protected final HiveGuiApplicationMain _application

_dialog

protected final GenericDialog _dialog
Constructor Detail

AbstractApplicationTask

public AbstractApplicationTask(HiveGuiApplicationMain application)

AbstractApplicationTask

public AbstractApplicationTask(HiveGuiApplicationMain application,
                               GenericDialog parent)
Method Detail

succeeded

protected void succeeded(T result)
Overrides:
succeeded in class org.jdesktop.application.Task<T,V>