Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.0)

E13403-08

oracle.jdeveloper.uieditor
Class CanvasKeyStrokeContext

java.lang.Object
  extended by oracle.ide.keyboard.XMLKeyStrokeContext
      extended by oracle.jdeveloper.uieditor.CanvasKeyStrokeContext
All Implemented Interfaces:
KeyStrokeContext

public class CanvasKeyStrokeContext
extends XMLKeyStrokeContext

CanvasKeyStrokeContext is a KeyStrokeContext based upon XmlKeyStrokeContext and customized for ModelFactory implementations. Integrators are encouraged to return an instance of this class from their ModelFactory.getKeyStrokeContext implementation.

See Also:
ModelFactory, KeyStrokeContext

Constructor Summary
CanvasKeyStrokeContext(ModelFactory factory)
          Constructor.
 
Method Summary
 java.util.Set getAllActions(boolean bGlobal)
          Get the set of actions represented by this context.
 
Methods inherited from class oracle.ide.keyboard.XMLKeyStrokeContext
getAcceleratorFile, getAllPresets, getName, getPresetKeyStrokeMap, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CanvasKeyStrokeContext

public CanvasKeyStrokeContext(ModelFactory factory)
Constructor.

Parameters:
factory - the ModelFactory which produces the UIEditorCanvas instances to which this XMLKeyStrokeContext applies.
Method Detail

getAllActions

public java.util.Set getAllActions(boolean bGlobal)
Get the set of actions represented by this context. Defers to all registered actions of the associated ModelFactory.

Specified by:
getAllActions in interface KeyStrokeContext
Specified by:
getAllActions in class XMLKeyStrokeContext
Parameters:
bGlobal - true if only global actions are desired.
Returns:
a Set of IdeAction.
See Also:
ModelFactory.getActions()

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.0)

E13403-08

Copyright © 1997, 2013, Oracle. All rights reserved.