Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.virtuosotechnologies.asaph.samplegui
Class SampleGuiPlugin  view SampleGuiPlugin download SampleGuiPlugin.java

java.lang.Object
  extended bycom.virtuosotechnologies.asaph.samplegui.SampleGuiPlugin
All Implemented Interfaces:
com.virtuosotechnologies.lib.plugin.PluginInitializer

public class SampleGuiPlugin
extends java.lang.Object
implements com.virtuosotechnologies.lib.plugin.PluginInitializer

A sample GuiPlugin


Field Summary
private  com.virtuosotechnologies.asaph.maingui.GuiEnvironmentManager guiEnvironmentManager_
           
 
Constructor Summary
SampleGuiPlugin()
           
 
Method Summary
private  void doSampleSongCommand()
           
private  void doSampleToolCommand()
           
 java.lang.Object getAPIImplementation(java.lang.String apiName, com.virtuosotechnologies.lib.plugin.PluginLinker linker)
          A plugin must implement this method to provide the implementations of the APIs that it provides.
 void initialize(com.virtuosotechnologies.lib.plugin.PluginLinker linker)
          Perform first initialization of the plugin.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

guiEnvironmentManager_

private com.virtuosotechnologies.asaph.maingui.GuiEnvironmentManager guiEnvironmentManager_
Constructor Detail

SampleGuiPlugin

public SampleGuiPlugin()
Method Detail

initialize

public void initialize(com.virtuosotechnologies.lib.plugin.PluginLinker linker)
                throws com.virtuosotechnologies.lib.plugin.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 com.virtuosotechnologies.lib.plugin.PluginInitializer

doSampleSongCommand

private void doSampleSongCommand()

doSampleToolCommand

private void doSampleToolCommand()

getAPIImplementation

public java.lang.Object getAPIImplementation(java.lang.String apiName,
                                             com.virtuosotechnologies.lib.plugin.PluginLinker linker)
                                      throws com.virtuosotechnologies.lib.plugin.PluginInitializerException
A plugin must implement this method to provide the implementations of the APIs that it provides. This method is called after the initialize() method. Any APIs the plugin declared it needed in to implement this API 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:
getAPIImplementation in interface com.virtuosotechnologies.lib.plugin.PluginInitializer