Extension SDK

oracle.ide.config
Class IdeKeyStrokes

java.lang.Object
  extended byoracle.ide.keyboard.XMLKeyStrokeContext
      extended byoracle.ide.config.IdeKeyStrokes
All Implemented Interfaces:
KeyStrokeContext

public class IdeKeyStrokes
extends XMLKeyStrokeContext

This class defines the default global shortcuts for the application


Constructor Summary
IdeKeyStrokes()
           
 
Method Summary
 java.util.Set getAllActions(boolean bGlobal)
          Returns a Set of actions valid for the context.
 KeyStrokesConstraint getKeyStrokeConstraint()
          Key constraints are used in the configuration panel to limit the user in the customization of the shortcuts.
 
Methods inherited from class oracle.ide.keyboard.XMLKeyStrokeContext
getAllPresets, getName, getPresetKeyStrokeMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdeKeyStrokes

public IdeKeyStrokes()
Method Detail

getAllActions

public java.util.Set getAllActions(boolean bGlobal)
Description copied from interface: KeyStrokeContext
Returns a Set of actions valid for the context. If bGlobal is true, return the actions that are valid event when the focus is not on the window (ex: Debugger.stepInto). If bGlobal is false, return actions that are only valid on the focused window (ex: Debugger.setBreakpoint should only be valid in the editor).

Specified by:
getAllActions in interface KeyStrokeContext
Specified by:
getAllActions in class XMLKeyStrokeContext

getKeyStrokeConstraint

public KeyStrokesConstraint getKeyStrokeConstraint()
Description copied from interface: KeyStrokeContext
Key constraints are used in the configuration panel to limit the user in the customization of the shortcuts. For example, a text editor would not allow "Shift+A" to be a shortcut while "S" would be valid for the UI editor

Specified by:
getKeyStrokeConstraint in interface KeyStrokeContext
Overrides:
getKeyStrokeConstraint in class XMLKeyStrokeContext

Extension SDK

 

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