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

ibm_ilog.diagram.interactors.SwitchModeInteractor

Object » ibm_ilog.diagram.util.HandleSet » ibm_ilog.diagram.interactors.Interactor » ibm_ilog.diagram.interactors.SwitchModeInteractor
dojo.require("ibm_ilog.diagram.interactors.SwitchModeInteractor");

This Interactor manages the UndoManager through the keyboard interaction. This Interactor have 3 connections: switchEdition, enterEdition, enterNavigation.

Method Summary

Event Summary

Methods

addEditionInteractorId
adds an interactor id, that will be enabled when entering on edition mode
ParameterTypeDescription
id
addNavigationInteractorId
adds an interactor id, that will be enabled when entering on navigation mode
ParameterTypeDescription
id
assignInputs
ParameterTypeDescription
assignments
deactivate
Disconnects all connections by going to the null state
enterEdition
enter edition mode
enterNavigation
enter navigation mode
eventButtonIsLeft
ParameterTypeDescription
e
eventButtonIsMiddle
ParameterTypeDescription
e
eventButtonIsRight
ParameterTypeDescription
e
eventClientLocation
returns pointer position associated with the given event
ParameterTypeDescription
e
eventPageLocation
returns pointer position associated with the given event
ParameterTypeDescription
e
eventWheelAmmount
ParameterTypeDescription
e
getDefaultConnections
returns the default event mapping
getKeyInteractorId
returns the Interactor Id
initialize
initialize the new instance.
ParameterTypeDescription
diagramibm_ilog.diagram.widget.Diagramthe associated diagram.
keyPressed
ParameterTypeDescription
ids
e
overrideConnections
Override the default event map with the given handlers
ParameterTypeDescription
connections
reactivate
release all the handles and reconnect.
setConnections
sets a new connections configuration
ParameterTypeDescription
connections
setEnabled
ParameterTypeDescription
b
setKeyManager
ParameterTypeDescription
keyManager
setManager
ParameterTypeDescription
manager
switchEdition
switch between edition and navigation mode.
ParameterTypeDescription
e

Events