org.biomoby.client.taverna.plugin
Class AddParserAction

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

public class AddParserAction
extends AbstractProcessorAction

An action to add a parser from within the Workflow editor

Author:
Eddie Kawas

Constructor Summary
AddParserAction()
           
 
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)
 
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

AddParserAction

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