|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.genuine.organizer.internal.DefaultModuleManager
Default implementation of Genuine's module manager. It is responsible to create and initialize the modules and to provide services for modules.
| Constructor Summary | |
DefaultModuleManager()
Initializes all components |
|
| Method Summary | |
javax.swing.JMenuBar |
buildMenuBar()
Delegates to menu bar builder |
javax.swing.JToolBar |
buildToolBar()
Delegates to tool bar builder |
GenuineAction |
getAction(java.lang.String identifier)
Returns the first action instance in any module with the given name. |
ComponentManager |
getComponentManager()
Returns a reference to the component manager instance. |
HelperService |
getHelperService()
Returns a reference to the helper service instance. |
MessageBus |
getMessageBus()
Returns a reference to the message bus instance. |
ServiceBroker |
getServiceBroker()
Returns a reference to the service broker instance. |
void |
initializeModules(org.jdom.Element modulesElement,
ProgressTracker progressTracker)
Creates and initializes the modules. |
void |
postInitialize()
The modules may perform late initialization operations. |
void |
setDesktopComponents(javax.swing.JFrame mainFrame,
javax.swing.JDesktopPane desktopPane,
javax.swing.JLabel infoLabel)
Component manager and helper service need reference to desktop pane. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultModuleManager()
| Method Detail |
public void setDesktopComponents(javax.swing.JFrame mainFrame,
javax.swing.JDesktopPane desktopPane,
javax.swing.JLabel infoLabel)
setDesktopComponents in interface InternalModuleManager
public void initializeModules(org.jdom.Element modulesElement,
ProgressTracker progressTracker)
throws ConfigurationException
initializeModules in interface InternalModuleManagerConfigurationException
public javax.swing.JMenuBar buildMenuBar()
throws ConfigurationException
buildMenuBar in interface InternalModuleManagerConfigurationException
public javax.swing.JToolBar buildToolBar()
throws ConfigurationException
buildToolBar in interface InternalModuleManagerConfigurationException
public void postInitialize()
throws ConfigurationException
postInitialize in interface InternalModuleManagerConfigurationExceptionpublic ComponentManager getComponentManager()
getComponentManager in interface ModuleManagerpublic ServiceBroker getServiceBroker()
getServiceBroker in interface ModuleManagerpublic MessageBus getMessageBus()
getMessageBus in interface ModuleManagerpublic HelperService getHelperService()
getHelperService in interface ModuleManagerpublic GenuineAction getAction(java.lang.String identifier)
getAction in interface ModuleManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||