Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.maddyhome.idea.vim
Class KeyHandler.ActionRunner  view KeyHandler.ActionRunner download KeyHandler.ActionRunner.java

java.lang.Object
  extended bycom.maddyhome.idea.vim.KeyHandler.ActionRunner
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
KeyHandler

static class KeyHandler.ActionRunner
extends java.lang.Object
implements java.lang.Runnable

This was used as an experiment to execute actions as a runnable.


Field Summary
private  com.maddyhome.idea.vim.command.Command cmd
           
private  DataContext context
           
private  Editor editor
           
private  javax.swing.KeyStroke key
           
 
Constructor Summary
KeyHandler.ActionRunner(Editor editor, DataContext context, com.maddyhome.idea.vim.command.Command cmd, javax.swing.KeyStroke key)
           
 
Method Summary
 void run()
          This method will be called by whoever wishes to run your class implementing Runnable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

editor

private Editor editor

context

private DataContext context

cmd

private com.maddyhome.idea.vim.command.Command cmd

key

private javax.swing.KeyStroke key
Constructor Detail

KeyHandler.ActionRunner

public KeyHandler.ActionRunner(Editor editor,
                               DataContext context,
                               com.maddyhome.idea.vim.command.Command cmd,
                               javax.swing.KeyStroke key)
Method Detail

run

public void run()
Description copied from interface: java.lang.Runnable
This method will be called by whoever wishes to run your class implementing Runnable. Note that there are no restrictions on what you are allowed to do in the run method, except that you cannot throw a checked exception.

Specified by:
run in interface java.lang.Runnable