Extension SDK

oracle.ide.keyboard
Class MultiMapAdapter

java.lang.Object
  |
  +--oracle.ide.keyboard.MultiMapAdapter

public final class MultiMapAdapter
extends java.lang.Object

This class contains some utilities for the keyboard mapping.


Constructor Summary
MultiMapAdapter()
           
 
Method Summary
static void fillGlobalMap(MultiInputMap mim, KeyStrokeOptions kso)
          Replaces the content of the MultiInputMap with the global mappings from a KeyStrokeOptions.
static void fillLocalMap(MultiInputMap mim, KeyStrokeOptions kso, KeyStrokeContext ksc)
          Replaces the content of a MultiInputMap with the local mappings from a KeyStrokeOptions
static MultiInputMap getGlobalMap(KeyStrokeOptions kso)
          Extracts the global MultiInputMap from a KeyStrokeOptions and adds a listener to auto-update when it changes
static MultiInputMap getLocalMap(KeyStrokeOptions kso, KeyStrokeContext ksc)
          Extracts a local MultiInputMap from a KeyStrokeOptions and adds a listener to auto-update when it changes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiMapAdapter

public MultiMapAdapter()
Method Detail

getGlobalMap

public static MultiInputMap getGlobalMap(KeyStrokeOptions kso)
Extracts the global MultiInputMap from a KeyStrokeOptions and adds a listener to auto-update when it changes

fillGlobalMap

public static void fillGlobalMap(MultiInputMap mim,
                                 KeyStrokeOptions kso)
Replaces the content of the MultiInputMap with the global mappings from a KeyStrokeOptions.

getLocalMap

public static MultiInputMap getLocalMap(KeyStrokeOptions kso,
                                        KeyStrokeContext ksc)
Extracts a local MultiInputMap from a KeyStrokeOptions and adds a listener to auto-update when it changes

fillLocalMap

public static void fillLocalMap(MultiInputMap mim,
                                KeyStrokeOptions kso,
                                KeyStrokeContext ksc)
Replaces the content of a MultiInputMap with the local mappings from a KeyStrokeOptions

Extension SDK