1 /* ************************************************************************
3 qooxdoo - the new era of web development
8 2004-2007 1&1 Internet AG, Germany, http://www.1and1.org
11 LGPL: http://www.gnu.org/licenses/lgpl.html
12 EPL: http://www.eclipse.org/org/documents/epl-v10.php
13 See the LICENSE file in the project's top-level directory for details.
16 * Sebastian Werner (wpbasti)
17 * Andreas Ecker (ecker)
19 ************************************************************************ */
21 /* ************************************************************************
25 ************************************************************************ */
28 * Abstract application initializer
30 qx.OO.defineClass("qx.component.init.AbstractInitComponent", qx.component.AbstractComponent,
32 qx.component.AbstractComponent.call(this);
38 * Run initialisation part of component creation.
40 * @param e {Event} event object
42 qx.Proto.initialize = function(e) {
43 return qx.core.Init.getInstance().getApplicationInstance().initialize(e);
48 * Run main part of component creation.
50 * @param e {Event} event object
52 qx.Proto.main = function(e) {
53 return qx.core.Init.getInstance().getApplicationInstance().main(e);
58 * Run finalization part of component creation.
60 * @param e {Event} event object
62 qx.Proto.finalize = function(e) {
63 return qx.core.Init.getInstance().getApplicationInstance().finalize(e);
68 * Terminate this component.
70 * @param e {Event} event object
72 qx.Proto.close = function(e) {
73 return qx.core.Init.getInstance().getApplicationInstance().close(e);
78 * Terminate this component.
80 * @param e {Event} event object
82 qx.Proto.terminate = function(e) {
83 return qx.core.Init.getInstance().getApplicationInstance().terminate(e);