org.dftproject.genesis.core.search
Class UpdateObjective

java.lang.Object
  extended by org.dftproject.genesis.core.research.Objective
      extended by org.dftproject.genesis.core.search.UpdateObjective

public class UpdateObjective
extends Objective

UpdateObjective is a research objective to find more information about a given resource.


Constructor Summary
UpdateObjective(ResearchManager manager, IResourceNode target)
          Creates a research objective to get more information about the given resource.
 
Method Summary
 java.lang.String getDescription()
          Returns this objective's description.
 org.eclipse.swt.graphics.Image getIcon()
          Returns this objective's icon.
 IResourceNode getTarget()
          Returns the resource to get more information about.
 
Methods inherited from class org.dftproject.genesis.core.research.Objective
addTaskFamily, cancel, familyCanceled, familyUpdated, finished, getTaskFamilies, isCanceled, removeTaskFamily, taskAdded, taskCanceled, taskRemoved, taskUpdated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateObjective

public UpdateObjective(ResearchManager manager,
                       IResourceNode target)
Creates a research objective to get more information about the given resource.

Parameters:
manager - a research manager
target - a resource
Method Detail

getTarget

public IResourceNode getTarget()
Returns the resource to get more information about.

Returns:
the resource

getDescription

public java.lang.String getDescription()
Description copied from class: Objective
Returns this objective's description.

Specified by:
getDescription in class Objective
Returns:
a description

getIcon

public org.eclipse.swt.graphics.Image getIcon()
Description copied from class: Objective
Returns this objective's icon.

Specified by:
getIcon in class Objective
Returns:
an icon