|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines interface to plug-in modules. Anvil creates one instance of the plug-in class at start up time. The plug-in will appear under "Tool" in the main menu bar. When selected by the user, Anvil will call the method "startFromMain" and, depending on the value of "canHaveMultipleInstances", Anvil will deactivate the plug-in menu entry or not. If your plug-in wants to be time synchronized with Anvil's current video, you need to call addAnvilMediaTimeListener in AnvilMain. When your plug-in is closed by the user, you need to inform AnvilMain with plugInExited. See the AnvilMain interface for more information on possible interaction with Anvil.
Method Summary | |
boolean |
canHaveMultipleInstances()
Returns true if the plug-in can be called multiple times. |
boolean |
exitFromAnvil()
Called by AnvilMain when Anvil is being closed. |
boolean |
startFromAnvil(anvil.gui.AnvilMain main)
Called by AnvilMain when the plug-in button is used, i.e. when the user wants to start the plug-in. |
Method Detail |
public boolean canHaveMultipleInstances()
public boolean startFromAnvil(anvil.gui.AnvilMain main)
main
- the AnvilMain object.
public boolean exitFromAnvil()
AnvilMain.plugInExited(anvil.gui.AnvilPlugIn)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |