com.virtuosotechnologies.asaph.standardgui
Class StandardGuiPlugin

java.lang.Object
  extended bycom.virtuosotechnologies.lib.plugin.BasicPluginInitializer
      extended bycom.virtuosotechnologies.asaph.standardgui.StandardGuiPlugin
All Implemented Interfaces:
PluginInitializer

public class StandardGuiPlugin
extends BasicPluginInitializer

Plugin for the standard song viewer and editor


Constructor Summary
StandardGuiPlugin()
          Constructor
 
Method Summary
 void initialize(PluginLinker linker)
          Perform first initialization of the plugin.
 void shutDown(PluginLinker linker)
          Perform finalization and shutdown of the plugin.
 
Methods inherited from class com.virtuosotechnologies.lib.plugin.BasicPluginInitializer
getAPIImplementation, preShutDown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardGuiPlugin

public StandardGuiPlugin()
Constructor

Method Detail

initialize

public void initialize(PluginLinker linker)
                throws PluginInitializerException
Perform first initialization of the plugin. This is called after the plugin is instantiated, but before it is asked to provide any of its API implementations. Any APIs the plugin declared it needed for initialization will be available through the linker when this method is called.

Plugins should perform any time-consuming initialization in this method, rather than in the constructor or static initializers, and should use this method to report any fatal errors during initialization.

Specified by:
initialize in interface PluginInitializer
Overrides:
initialize in class BasicPluginInitializer
Parameters:
linker - the linker for this plugin.
Throws:
PluginInitializerException - thrown if the plugin could not initialize itself.

shutDown

public void shutDown(PluginLinker linker)
              throws PluginInitializerException
Perform finalization and shutdown of the plugin. This is called when the plugin is being unplugged.

Specified by:
shutDown in interface PluginInitializer
Overrides:
shutDown in class BasicPluginInitializer
Parameters:
linker - the linker for this plugin.
Throws:
PluginInitializerException - thrown if the plugin could not shut down.