org.embl.ebi.escience.scuflworkers
Interface ScavengerHelper

All Known Implementing Classes:
APIConsumerScavengerHelper, BiomartScavengerHelper, BiomobyObjectScavengerHelper, BiomobyScavengerHelper, BiomobyScavengerHelper, InfernoScavengerHelper, RDFGeneratorScavengerHelper, SoaplabScavengerHelper, TalismanScavengerHelper, WebScavengerHelperImpl, WorkflowScavengerHelper, WSDLScavengerHelper

public interface ScavengerHelper

Classes implementing this interface perform the role of creating an actionlistener that creates the appropriate scavenger structures when activated.

Author:
Tom Oinn

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()
           
 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
 

Method Detail

getListener

java.awt.event.ActionListener getListener(ScavengerTree theScavenger)
Return an action listener to create the scavengers when the item is clicked


getScavengerDescription

java.lang.String getScavengerDescription()
Get the text for this scavenger creator, so something like 'Create new WSDL scavenger' or similar


getDefaults

java.util.Set<Scavenger> getDefaults()
Defines the default scavengers in the service panel

Returns:
a Set of default Scavengers

getFromModel

java.util.Set<Scavenger> getFromModel(ScuflModel model)
Extracts the scavengers from a ScuflModel for adding to the service panel

Parameters:
model -
Returns:

getIcon

javax.swing.ImageIcon getIcon()
Returns:
the icon associated with this ScavengerHelper