org.biomoby.client.taverna.plugin
Class BiomobyWidgetAction

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

public class BiomobyWidgetAction
extends AbstractProcessorAction


Constructor Summary
BiomobyWidgetAction()
           
 
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()
          How big should it be?
 javax.swing.ImageIcon getIcon()
          Return an Icon to represent this action, return null if you want to use the default icon (boring)
 
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

BiomobyWidgetAction

public BiomobyWidgetAction()
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()
Description copied from class: AbstractProcessorAction
How big should it be?

Overrides:
getFrameSize in class AbstractProcessorAction