package Templates.API_Support.Modules_API;

import org.openide.modules.ModuleInstall;

/** Manages a module's lifecycle.
 * Remember that an installer is optional and often not needed at all.
 *
 * @author __USER__
 */
public class Installer extends ModuleInstall {

    public void restored() {
        // By default, do nothing.
        // Put your startup code here.
    }

    // Less commonly needed:
    /*
    public boolean closing() {
        // return false if cannot close now
        return true;
    }
    public void close() {
        // shut down stuff
    }
    */

    // Generally the methods below should be avoided in favor of restored():
    /*
    // By default, do nothing.
    public void uninstalled() {
    }
    */

}
