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.