org.dftproject.pgvagent.core
Class PGVSearch

java.lang.Object
  extended by org.dftproject.genesis.core.research.Task
      extended by org.dftproject.pgvagent.core.PGVSearch

public class PGVSearch
extends Task

A task to search a PGV website.


Constructor Summary
PGVSearch(TaskFamily family, IResourceNode site, java.lang.String query, DataView view)
          Creates a task to search the given PGV website.
 
Method Summary
 java.lang.String getDescription()
          Returns the description of this task.
 org.eclipse.swt.graphics.Image getIcon()
          Returns the icon of this task.
 void run()
          The execution of this task.
 
Methods inherited from class org.dftproject.genesis.core.research.Task
cancel, finished, getFamily, getFullDescription, isCanceled, start, subTask
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PGVSearch

public PGVSearch(TaskFamily family,
                 IResourceNode site,
                 java.lang.String query,
                 DataView view)
Creates a task to search the given PGV website.

Parameters:
family - a task family
site - a PGV website
query - a PGV search query
view - a view on the database
Method Detail

getDescription

public java.lang.String getDescription()
Description copied from class: Task
Returns the description of this task.

Specified by:
getDescription in class Task
Returns:
a description

getIcon

public org.eclipse.swt.graphics.Image getIcon()
Description copied from class: Task
Returns the icon of this task.

Specified by:
getIcon in class Task
Returns:
an icon

run

public void run()
Description copied from class: Task
The execution of this task.

Specified by:
run in class Task