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