Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

oracle.ide.util
Class UIThreadUtil

java.lang.Object
  extended by oracle.ide.util.UIThreadUtil

public class UIThreadUtil
extends java.lang.Object


Constructor Summary
UIThreadUtil()
           
 
Method Summary
static void executeASync(java.lang.Runnable runnable)
           
static
<V> V
executeSync(java.util.concurrent.Callable<V> callable)
          This method should be used when executing a Callable on the event thread.
static void executeSync(java.lang.Runnable runnable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIThreadUtil

public UIThreadUtil()
Method Detail

executeSync

public static <V> V executeSync(java.util.concurrent.Callable<V> callable)
                     throws java.lang.Exception
This method should be used when executing a Callable on the event thread. It can be called from any thread. This is a blocking call and it will either return the value from the callable or rethrow any exception thrown by the callable.

Throws:
java.lang.Exception

executeSync

public static void executeSync(java.lang.Runnable runnable)

executeASync

public static void executeASync(java.lang.Runnable runnable)

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

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