com.intellij.util
Class ActionRunner

java.lang.Object
  extended by com.intellij.util.ActionRunner

public abstract class ActionRunner
extends java.lang.Object


Nested Class Summary
static interface ActionRunner.InterruptibleRunnable
           
static interface ActionRunner.InterruptibleRunnableWithResult<T>
           
 
Constructor Summary
ActionRunner()
           
 
Method Summary
static void runInsideReadAction(ActionRunner.InterruptibleRunnable runnable)
           
static void runInsideWriteAction(ActionRunner.InterruptibleRunnable runnable)
           
static
<T> T
runInsideWriteAction(ActionRunner.InterruptibleRunnableWithResult<T> runnable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionRunner

public ActionRunner()
Method Detail

runInsideWriteAction

public static void runInsideWriteAction(ActionRunner.InterruptibleRunnable runnable)
                                 throws java.lang.Exception
Throws:
java.lang.Exception

runInsideWriteAction

public static <T> T runInsideWriteAction(ActionRunner.InterruptibleRunnableWithResult<T> runnable)
                              throws java.lang.Exception
Throws:
java.lang.Exception

runInsideReadAction

public static void runInsideReadAction(ActionRunner.InterruptibleRunnable runnable)
                                throws java.lang.Exception
Throws:
java.lang.Exception