IBM ILOG Dojo Diagrammer 1.1 API Documentation
Legend: Array Boolean Constructor Date DomNode Error Function Namespace Number Object RegExp Singleton String

ibm_ilog.diagram.util.DeferredInitialization

Object » ibm_ilog.diagram.util.DeferredInitialization
dojo.require("ibm_ilog.diagram.util.DeferredInitialization");

Provide the users of the class with a whenLoaded(cb) API for waiting for instances to finish initialization. Also subscribes the instance to the global initialization coordinator for global synchrinzation.

Method Summary

  • isInitialized() Returns whether the initialization process is done.
  • whenLoaded(cb, eb) Registers a callback to be executed after the instance has been initialized, or executes immediately if already initialized.

Methods

isInitialized
Returns whether the initialization process is done.
whenLoaded
Registers a callback to be executed after the instance has been initialized, or executes immediately if already initialized.
ParameterTypeDescription
cb
eb