org.biomoby.client.taverna.plugin
Class BiomobyObjectAction

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

public class BiomobyObjectAction
extends AbstractProcessorAction


Constructor Summary
BiomobyObjectAction()
           
BiomobyObjectAction(boolean searchParentTypes)
           
BiomobyObjectAction(Port outputPort, boolean searchParentTypes)
           
 
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)
 org.biomoby.shared.MobyNamespace[] getNamespaces()
           
 void setNamespaces(org.biomoby.shared.MobyNamespace[] namespaces)
           
 
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

BiomobyObjectAction

public BiomobyObjectAction(boolean searchParentTypes)

BiomobyObjectAction

public BiomobyObjectAction(Port outputPort,
                           boolean searchParentTypes)

BiomobyObjectAction

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

setNamespaces

public void setNamespaces(org.biomoby.shared.MobyNamespace[] namespaces)

getNamespaces

public org.biomoby.shared.MobyNamespace[] getNamespaces()