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.interactors.InteractorManager (version 1.1-SNAPSHOT)

Object » ibm_ilog.diagram.interactors.InteractorManager
dojo.require("ibm_ilog.diagram.interactors.InteractorManager");

Organizes interactors by id and is responible for distinguishing the currently active interactors.

Method Summary

  • activeInteractors() Returns a set with the currently active interactors
  • add(id, interactor) register a new interactor with the given id
  • constructor() creates a new instance of InteractorManager
  • get(id) Returns the interactor registered with the given id
  • pop(h) Deactivates and eventually pops the interactors previously pushed on the active stack
  • push(interactor1, interactor2, etc) returns this is the handle for deactivation Push a set of interactors into the active stack. (Although currently only 1 is supported)
  • stackLength()
  • switchTo(interactor1, interactor2, etc) Changes the set of idle interactors that are ready to be used. Has immediate effect only when there are no elements in the active _stack.
  • top() Returns the top level of the stack

Methods

activeInteractors
Returns a set with the currently active interactors
add
register a new interactor with the given id
ParameterTypeDescription
id
interactor
constructor
creates a new instance of InteractorManager
get
Returns the interactor registered with the given id
ParameterTypeDescription
id
pop
Deactivates and eventually pops the interactors previously pushed on the active stack
ParameterTypeDescription
h
push
Returns this is the handle for deactivation
Push a set of interactors into the active stack. (Although currently only 1 is supported)
ParameterTypeDescription
interactor1
interactor2
etc
stackLength
switchTo
Changes the set of idle interactors that are ready to be used. Has immediate effect only when there are no elements in the active _stack.
ParameterTypeDescription
interactor1
interactor2
etc
top
Returns the top level of the stack