ibm_ilog.diagram.editor.interactors.DeleteKeyInteractor
Object » ibm_ilog.diagram.util.HandleSet » ibm_ilog.diagram.interactors.Interactor » ibm_ilog.diagram.editor.interactors.DeleteKeyInteractor
dojo.require("ibm_ilog.diagram.editor.interactors.DeleteKeyInteractor");
This Interactor manages the graphElements deletion through the keyboard interaction. This Interactor have 2 connections: deleteDelete, deleteBackSpace. Both connections calls the same delete method.
Method Summary
- activate() Activates "idle" state
- assignInputs(assignments)
- deactivate() Disconnects all connections by going to the null state
- doDelete() Deletes the selected elements and all the connected links. If none selected, removes the focused element and all connected links.
- eventButtonIsLeft(e)
- eventButtonIsMiddle(e)
- eventButtonIsRight(e)
- eventClientLocation(e) returns pointer position associated with the given event
- eventPageLocation(e) returns pointer position associated with the given event
- eventWheelAmmount(e)
- getConnections() return the eventMap
- getDefaultConnections() returns the default event mapping
- getEnabled()
- getKeyInteractorId() returns the Interactor Id
- initialize(diagram) initialize the new instance.
- initializeFilters()
- keyPressed(ids, e)
- overrideConnections(connections) Override the default event map with the given handlers
- reactivate() release all the handles and reconnect.
- registerHotKeys()
- setConnections(connections) sets a new connections configuration
- setEnabled(b)
- setKeyManager(keyManager)
- setManager(manager)
- toString()
Event Summary
Methods
Activates "idle" state
Parameter | Type | Description |
---|---|---|
assignments |
Disconnects all connections by going to the null state
Deletes the selected elements and all the connected links. If none selected,
removes the focused element and all connected links.
Parameter | Type | Description |
---|---|---|
e |
Parameter | Type | Description |
---|---|---|
e |
Parameter | Type | Description |
---|---|---|
e |
returns pointer position associated with the given event
Parameter | Type | Description |
---|---|---|
e |
returns pointer position associated with the given event
Parameter | Type | Description |
---|---|---|
e |
Parameter | Type | Description |
---|---|---|
e |
return the eventMap
returns the default event mapping
initialize the new instance.
Parameter | Type | Description |
---|---|---|
diagram | ibm_ilog.diagram.editor.DiagramEditor | the associated diagram editor. |
Parameter | Type | Description |
---|---|---|
ids | ||
e |
Override the default event map with the given handlers
Parameter | Type | Description |
---|---|---|
connections |
release all the handles and reconnect.
sets a new connections configuration
Parameter | Type | Description |
---|---|---|
connections |
Parameter | Type | Description |
---|---|---|
b |
Parameter | Type | Description |
---|---|---|
keyManager |
Parameter | Type | Description |
---|---|---|
manager |