org.embl.ebi.escience.scuflworkers.inferno
Class InfernoScavengerHelper

java.lang.Object
  extended by org.embl.ebi.escience.scuflworkers.inferno.InfernoScavengerHelper
All Implemented Interfaces:
ScavengerHelper

public class InfernoScavengerHelper
extends java.lang.Object
implements ScavengerHelper

Helper to specify an Inferno SGS location

Author:
Tom Oinn

Constructor Summary
InfernoScavengerHelper()
           
 
Method Summary
 java.util.Set<Scavenger> getDefaults()
          Defines the default scavengers in the service panel
 java.util.Set<Scavenger> getFromModel(ScuflModel model)
          Extracts the scavengers from a ScuflModel for adding to the service panel
 javax.swing.ImageIcon getIcon()
          Returns the icon for this scavenger
 java.awt.event.ActionListener getListener(ScavengerTree theScavenger)
          Return an action listener to create the scavengers when the item is clicked
 java.lang.String getScavengerDescription()
          Get the text for this scavenger creator, so something like 'Create new WSDL scavenger' or similar
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InfernoScavengerHelper

public InfernoScavengerHelper()
Method Detail

getScavengerDescription

public java.lang.String getScavengerDescription()
Description copied from interface: ScavengerHelper
Get the text for this scavenger creator, so something like 'Create new WSDL scavenger' or similar

Specified by:
getScavengerDescription in interface ScavengerHelper

getListener

public java.awt.event.ActionListener getListener(ScavengerTree theScavenger)
Description copied from interface: ScavengerHelper
Return an action listener to create the scavengers when the item is clicked

Specified by:
getListener in interface ScavengerHelper

getDefaults

public java.util.Set<Scavenger> getDefaults()
Description copied from interface: ScavengerHelper
Defines the default scavengers in the service panel

Specified by:
getDefaults in interface ScavengerHelper
Returns:
a Set of default Scavengers

getFromModel

public java.util.Set<Scavenger> getFromModel(ScuflModel model)
Description copied from interface: ScavengerHelper
Extracts the scavengers from a ScuflModel for adding to the service panel

Specified by:
getFromModel in interface ScavengerHelper
Returns:

getIcon

public javax.swing.ImageIcon getIcon()
Returns the icon for this scavenger

Specified by:
getIcon in interface ScavengerHelper
Returns:
the icon associated with this ScavengerHelper