3 * (C) 2006 by Derrell Lipman
7 * LGPL 2.1: http://creativecommons.org/licenses/LGPL/2.1/
11 * Swat statistics class
13 qx.OO.defineClass("swat.module.statistics.Statistics",
14 swat.module.AbstractModule,
17 swat.module.AbstractModule.call(this);
22 * Create the module's finite state machine and graphical user interface.
24 * This function is called the first time a module is actually selected to
25 * appear. Creation of the module's actual FSM and GUI have been deferred
26 * until they were actually needed (now) so we need to create them.
28 * @param module {Object} @see AbstractModule
30 qx.Proto.initialAppear = function(module)
32 // Replace the existing (temporary) finite state machine with the real one
33 swat.module.statistics.Fsm.getInstance().buildFsm(module);
35 // Create the real gui
36 swat.module.statistics.Gui.getInstance().buildGui(module);
41 * Singleton Instance Getter
43 qx.Class.getInstance = qx.util.Return.returnInstance;