org.biomoby.client.taverna.plugin
Class BiomobyAction

java.lang.Object
  extended by org.embl.ebi.escience.scuflui.actions.AbstractProcessorAction
      extended by org.biomoby.client.taverna.plugin.BiomobyAction
All Implemented Interfaces:
ProcessorActionSPI

public class BiomobyAction
extends AbstractProcessorAction

Author:
Eddie An action that for BioMobyProcessors

Constructor Summary
BiomobyAction()
           
 
Method Summary
 boolean canHandle(Processor processor)
          Can this action handle the specified processor? Return true if this action is applicable.
 javax.swing.JComponent getComponent(Processor processor)
          Implement this to define the component which will be created in the new UIUtils frame when the menu item, button or whatever is activated
 java.lang.String getDescription()
          Return a short description of the action to be used as the text in a context menu
 java.awt.Dimension getFrameSize()
          returns the frame size as a dimension for the content pane housing this action
 javax.swing.ImageIcon getIcon()
          Return an Icon to represent this action, return null if you want to use the default icon (boring)
 javax.swing.ImageIcon getIcon(java.lang.String loc)
          Return an Icon to represent this action
 
Methods inherited from class org.embl.ebi.escience.scuflui.actions.AbstractProcessorAction
frameClosing, getFrameLocation, getListener
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BiomobyAction

public BiomobyAction()
Method Detail

getComponent

public javax.swing.JComponent getComponent(Processor processor)
Description copied from class: AbstractProcessorAction
Implement this to define the component which will be created in the new UIUtils frame when the menu item, button or whatever is activated

Specified by:
getComponent in class AbstractProcessorAction

canHandle

public boolean canHandle(Processor processor)
Description copied from interface: ProcessorActionSPI
Can this action handle the specified processor? Return true if this action is applicable.


getDescription

public java.lang.String getDescription()
Description copied from interface: ProcessorActionSPI
Return a short description of the action to be used as the text in a context menu


getIcon

public javax.swing.ImageIcon getIcon()
Description copied from interface: ProcessorActionSPI
Return an Icon to represent this action, return null if you want to use the default icon (boring)


getFrameSize

public java.awt.Dimension getFrameSize()
returns the frame size as a dimension for the content pane housing this action

Overrides:
getFrameSize in class AbstractProcessorAction

getIcon

public javax.swing.ImageIcon getIcon(java.lang.String loc)
Return an Icon to represent this action

Parameters:
loc - the location of the image to use as an icon