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._base.gfxext

Object » ibm_ilog.diagram._base.gfxext
dojo.require("ibm_ilog.diagram._base.gfxext");

Method Summary

  • patchMethod(type, method, execBefore, execAfter) Patches the specified method of the given type so that the 'execBefore' (resp. 'execAfter') function is called before (resp. after) invoking the legacy implementation.
  • propagateChange(source, reason)

Methods

patchMethod

The execBefore function is invoked with the following parameter: execBefore(method, arguments) where 'method' is the patched method name and 'arguments' the arguments received by the legacy implementation. The execAfter function is invoked with the following parameter: execBefore(method, returnValue, arguments) where 'method' is the patched method name, 'returnValue' the value returned by the legacy implementation and 'arguments' the arguments received by the legacy implementation.

ParameterTypeDescription
typeObjectObject: the type to patch.
methodStringString: the method name.
execBeforeFunctionFunction: the function to execute before the legacy implementation.
execAfterFunctionFunction: the function to execute after the legacy implementation.
propagateChange
ParameterTypeDescription
source
reason