be.ac.ulg.montefiore.run.totem.visualtopo.facade
Class ModuleLoader

java.lang.Object
  extended by be.ac.ulg.montefiore.run.totem.visualtopo.facade.ModuleLoader

public class ModuleLoader
extends java.lang.Object

We use this class to dynamically load/unload GUIModule to the TOTEM GUI. Use it as follow :

Author:
: Olivier Materne ( O.Materne@student.ulg.ac.be)

Method Summary
 void addGUIModule(GUIModule module)
          Add module to the "Managed Module Database" so that the Module Loader can take care of it
static ModuleLoader getInstance()
          Get a simple instance of the ModuleLoader
 void initBasicModules()
          Load some basic modules.
 void showModuleLoaderDialog()
          Show a panel in the gui that will display managed Modules and allows the user to load/unload modules
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

initBasicModules

public void initBasicModules()
Load some basic modules. Used by the contructor. Check which core modules it should manage and starts the "Load at startup" modules.


getInstance

public static ModuleLoader getInstance()
Get a simple instance of the ModuleLoader

Returns:
returns an instance of ModuleLoader

addGUIModule

public void addGUIModule(GUIModule module)
Add module to the "Managed Module Database" so that the Module Loader can take care of it

Parameters:
module - the module to be added

showModuleLoaderDialog

public void showModuleLoaderDialog()
Show a panel in the gui that will display managed Modules and allows the user to load/unload modules



Copyright © 2004-2007 Research Unit in Networking, All Rights Reserved.