|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.ide.keyboard.XMLKeyStrokeContext
Constructor Summary | |
XMLKeyStrokeContext(java.lang.String sName)
|
Method Summary | |
abstract java.util.Set |
getAllActions(boolean bGlobal)
Returns a Set of actions valid for the context. |
java.util.List |
getAllPresets()
This method is called to get a list of the predefined mappings. |
KeyStrokesConstraint |
getKeyStrokeConstraint()
Key constraints are used in the configuration panel to limit the user in the customization of the shortcuts. |
java.lang.String |
getName()
Get the name of this context as it will appear in the shortcut configuration panel. |
KeyStrokeMap |
getPresetKeyStrokeMap(java.lang.Object preset,
boolean bGlobal)
Returns the mapping between KeyStrokes and Actions. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XMLKeyStrokeContext(java.lang.String sName)
Method Detail |
public java.lang.String getName()
KeyStrokeContext
getName
in interface KeyStrokeContext
public abstract java.util.Set getAllActions(boolean bGlobal)
KeyStrokeContext
getAllActions
in interface KeyStrokeContext
public final KeyStrokeMap getPresetKeyStrokeMap(java.lang.Object preset, boolean bGlobal)
KeyStrokeContext
getPresetKeyStrokeMap
in interface KeyStrokeContext
preset
- corresponds to one of the elements returned by
getPresetKeyStrokeMaps or null to get the default map.bGlobal
- true when asked for the global keys.public final java.util.List getAllPresets()
KeyStrokeContext
The values in the list should be one of the PC_ constants.
getAllPresets
in interface KeyStrokeContext
public KeyStrokesConstraint getKeyStrokeConstraint()
KeyStrokeContext
getKeyStrokeConstraint
in interface KeyStrokeContext
|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright ©1997, 2003, Oracle. All rights reserved.