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

Quick Search    Search Deep

com.virtuosotechnologies.asaph.maingui
Class MainGuiPlugin  view MainGuiPlugin download MainGuiPlugin.java

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

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

Implementation of main gui.


Nested Class Summary
private  class MainGuiPlugin.GuiEnvironmentManagerImpl
           
 
Field Summary
private  CommandManagerImpl commandManager_
           
private  DatabaseManagerImpl databaseManager_
           
private  javax.swing.JComponent dialogParent_
           
private  java.io.File fileChooserDirectory_
           
private  MainGuiPlugin.GuiEnvironmentManagerImpl guiEnvironmentManager_
           
private  com.virtuosotechnologies.asaph.launch.Launcher launcher_
           
private static java.lang.String LISTS_VERTICAL_DIVIDER_PREFSKEY
           
private static java.lang.String LISTS_VERTICAL2_DIVIDER_PREFSKEY
           
private static java.lang.String LISTS_WIDTH_PREFSKEY
           
private  ListsImpl listsImpl_
           
private  java.util.logging.Logger logger_
           
private  PaneManagerImpl paneManager_
           
private  java.util.prefs.Preferences prefs_
           
private  PrefsWindowManagerImpl prefsWindowManager_
           
private  com.virtuosotechnologies.lib.swing.ModalProgressTracker progressTracker_
           
private  javax.swing.JSplitPane splitPane_
           
private  javax.swing.JFrame window_
           
private static java.lang.String WINDOW_HEIGHT_PREFSKEY
           
private static java.lang.String WINDOW_WIDTH_PREFSKEY
           
private static java.lang.String WINDOW_X_PREFSKEY
           
private static java.lang.String WINDOW_Y_PREFSKEY
           
 
Constructor Summary
MainGuiPlugin()
          Constructor
 
Method Summary
 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.
(package private)  void shutDown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WINDOW_WIDTH_PREFSKEY

private static final java.lang.String WINDOW_WIDTH_PREFSKEY
See Also:
Constant Field Values

WINDOW_HEIGHT_PREFSKEY

private static final java.lang.String WINDOW_HEIGHT_PREFSKEY
See Also:
Constant Field Values

WINDOW_X_PREFSKEY

private static final java.lang.String WINDOW_X_PREFSKEY
See Also:
Constant Field Values

WINDOW_Y_PREFSKEY

private static final java.lang.String WINDOW_Y_PREFSKEY
See Also:
Constant Field Values

LISTS_WIDTH_PREFSKEY

private static final java.lang.String LISTS_WIDTH_PREFSKEY
See Also:
Constant Field Values

LISTS_VERTICAL_DIVIDER_PREFSKEY

private static final java.lang.String LISTS_VERTICAL_DIVIDER_PREFSKEY
See Also:
Constant Field Values

LISTS_VERTICAL2_DIVIDER_PREFSKEY

private static final java.lang.String LISTS_VERTICAL2_DIVIDER_PREFSKEY
See Also:
Constant Field Values

logger_

private java.util.logging.Logger logger_

prefs_

private java.util.prefs.Preferences prefs_

databaseManager_

private DatabaseManagerImpl databaseManager_

listsImpl_

private ListsImpl listsImpl_

paneManager_

private PaneManagerImpl paneManager_

commandManager_

private CommandManagerImpl commandManager_

guiEnvironmentManager_

private MainGuiPlugin.GuiEnvironmentManagerImpl guiEnvironmentManager_

prefsWindowManager_

private PrefsWindowManagerImpl prefsWindowManager_

launcher_

private com.virtuosotechnologies.asaph.launch.Launcher launcher_

window_

private javax.swing.JFrame window_

dialogParent_

private javax.swing.JComponent dialogParent_

splitPane_

private javax.swing.JSplitPane splitPane_

fileChooserDirectory_

private java.io.File fileChooserDirectory_

progressTracker_

private com.virtuosotechnologies.lib.swing.ModalProgressTracker progressTracker_
Constructor Detail

MainGuiPlugin

public MainGuiPlugin()
Constructor

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

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

shutDown

void shutDown()