Class Index | File Index

Classes


Class orion.KeySequence

A KeySequence represents of a list of key codes and a modifiers state that can be triggered by the user using the keyboard.
Defined in: </shared/eclipse/e4/orion/I201404012230/bundles/org.eclipse.orion.client.core/web/orion/keyBinding.js>.

Class Summary
Constructor Attributes Constructor Name and Description
 
Constructs a new key sequence with the given key strokes.
Field Summary
Field Attributes Field Name and Description
 
the list of key strokes.
Method Summary
Method Attributes Method Name and Description
 
equals(kb)
Returns whether this key sequence is the same as the given parameter.
 
 
match(e, index)
Class Detail
orion.KeySequence(keys)
Constructs a new key sequence with the given key strokes.
Parameters:
{orion.KeyStroke[]} keys
the key strokes for this sequence.
See:
orion.editor.TextView#setKeyBinding
Field Detail
{orion.KeyStroke[]} keys
the list of key strokes.
Method Detail
{Boolean} equals(kb)
Returns whether this key sequence is the same as the given parameter.
Parameters:
{orion.KeyBinding|orion.KeySequence} kb
the key binding to compare with.
Returns:
{Boolean} whether or not the parameter and the receiver describe the same key binding.

getKeys()

match(e, index)
Parameters:
e
index

Documentation generated by JsDoc Toolkit 2.4.0 on Tue Apr 01 2014 22:58:24 GMT-0400 (EDT)