|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ProcessorActionSPI
SPI for actions capable of operating on a Processor object in the workflow. These can then be gathered and presented in the appropriate context menus within the workbench to allow arbitrary operations such as processor configuration, metadata handling etc.
| 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) |
java.awt.event.ActionListener |
getListener(Processor processor)
Return an ActionListener to be attached to whatever component is being generated. |
| Method Detail |
|---|
java.lang.String getDescription()
boolean canHandle(Processor processor)
java.awt.event.ActionListener getListener(Processor processor)
javax.swing.ImageIcon getIcon()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||