net.sf.genuine.organizer.internal
Interface InternalModuleManager

All Superinterfaces:
ModuleManager
All Known Implementing Classes:
DefaultModuleManager

public interface InternalModuleManager
extends ModuleManager

As an extension to the public interface ModuleManager, this interface defines internal functionality of the module manager that is not visible to modules but is needed during the start-up phase.

Author:
Tim Wellhausen

Method Summary
 javax.swing.JMenuBar buildMenuBar()
          Has to build a menu bar based on the initialization of the modules.
 javax.swing.JToolBar buildToolBar()
          Has to build a tool bar based on the initialization of the modules.
 void initializeModules(org.jdom.Element modulesElement, ProgressTracker progressTracker)
          Has to create and initializes all modules that are defined by the given XML element "modules".
 void postInitialize()
          The modules may perform late initialization operations.
 void setDesktopComponents(javax.swing.JFrame mainFrame, javax.swing.JDesktopPane desktopPane, javax.swing.JLabel infoLabel)
          Passes references to desktop components.
 
Methods inherited from interface net.sf.genuine.organizer.ModuleManager
getAction, getComponentManager, getHelperService, getMessageBus, getServiceBroker
 

Method Detail

setDesktopComponents

public void setDesktopComponents(javax.swing.JFrame mainFrame,
                                 javax.swing.JDesktopPane desktopPane,
                                 javax.swing.JLabel infoLabel)
Passes references to desktop components.


initializeModules

public void initializeModules(org.jdom.Element modulesElement,
                              ProgressTracker progressTracker)
                       throws ConfigurationException
Has to create and initializes all modules that are defined by the given XML element "modules".

Throws:
ConfigurationException

buildMenuBar

public javax.swing.JMenuBar buildMenuBar()
                                  throws ConfigurationException
Has to build a menu bar based on the initialization of the modules.

Throws:
ConfigurationException

buildToolBar

public javax.swing.JToolBar buildToolBar()
                                  throws ConfigurationException
Has to build a tool bar based on the initialization of the modules.

Throws:
ConfigurationException

postInitialize

public void postInitialize()
                    throws ConfigurationException
The modules may perform late initialization operations.

Throws:
ConfigurationException