Facemorph.psychomorph.batchable
Class AddMenuTest

java.lang.Object
  extended by Facemorph.psychomorph.batchable.AddMenuTest
All Implemented Interfaces:
Plugin

public class AddMenuTest
extends java.lang.Object
implements Plugin


Constructor Summary
AddMenuTest()
           
 
Method Summary
 boolean cleanup(PsychoMorphForm psychomorph)
          Called when the plugin is unloaded or removed by psychomorph allows the pluggin to cleanup any resources it has opened/
 boolean setup(PsychoMorphForm psychomorph)
          Initialise the Batchable This is called once only when the Plugin is first loaded by Psychomorph.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddMenuTest

public AddMenuTest()
Method Detail

setup

public boolean setup(PsychoMorphForm psychomorph)
Description copied from interface: Plugin
Initialise the Batchable This is called once only when the Plugin is first loaded by Psychomorph. Menus should be added to the PsychoMorphForm using addMenu.

Specified by:
setup in interface Plugin
Parameters:
psychomorph - the main psychomorph object
Returns:
returns true if initialised OK

cleanup

public boolean cleanup(PsychoMorphForm psychomorph)
Description copied from interface: Plugin
Called when the plugin is unloaded or removed by psychomorph allows the pluggin to cleanup any resources it has opened/

Specified by:
cleanup in interface Plugin
Parameters:
psychomorph - the main psychomorph object
Returns:
returns true if cleaned up OK