org.embl.ebi.escience.scuflui.actions
Class UnsetBoringAction

java.lang.Object
  extended by org.embl.ebi.escience.scuflui.actions.SetBoringAction
      extended by org.embl.ebi.escience.scuflui.actions.UnsetBoringAction
All Implemented Interfaces:
ProcessorActionSPI

public class UnsetBoringAction
extends SetBoringAction

Unset the boring flag on processors

Author:
Tom Oinn

Constructor Summary
UnsetBoringAction()
           
 
Method Summary
 boolean canHandle(Processor processor)
          Can this action handle the specified processor? Return true if this action is applicable.
 java.lang.String getDescription()
          Return a short description of the action to be used as the text in a context menu
 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.SetBoringAction
getListener
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnsetBoringAction

public UnsetBoringAction()
Method Detail

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

Specified by:
getDescription in interface ProcessorActionSPI
Overrides:
getDescription in class SetBoringAction

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.

Specified by:
canHandle in interface ProcessorActionSPI
Overrides:
canHandle in class SetBoringAction

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)

Specified by:
getIcon in interface ProcessorActionSPI
Overrides:
getIcon in class SetBoringAction