Saros
Distributed Collaborative Editing and Distributed Party Programming
de.fu_berlin.inf.dpp.synchronize.internal.AWTSynchronizer Class Reference
Inheritance diagram for de.fu_berlin.inf.dpp.synchronize.internal.AWTSynchronizer:
de.fu_berlin.inf.dpp.synchronize.UISynchronizer

List of all members.

Public Member Functions

void asyncExec (Runnable runnable)
void syncExec (Runnable runnable)
boolean isUIThread ()

Member Function Documentation

void de.fu_berlin.inf.dpp.synchronize.internal.AWTSynchronizer.asyncExec ( Runnable  runnable)

Causes the run() method of the runnable to be invoked by the user-interface thread at the next reasonable opportunity. The caller of this method continues to run in parallel, and is not notified when the runnable has completed.

Parameters:
runnablecode to run on the user-interface thread

Implements de.fu_berlin.inf.dpp.synchronize.UISynchronizer.

boolean de.fu_berlin.inf.dpp.synchronize.internal.AWTSynchronizer.isUIThread ( )

Checks if the current thread is the user-interface thread.

Returns:
true if the current thread is the user-interface thread, false otherwise

Implements de.fu_berlin.inf.dpp.synchronize.UISynchronizer.

void de.fu_berlin.inf.dpp.synchronize.internal.AWTSynchronizer.syncExec ( Runnable  runnable)

Causes the run() method of the runnable to be invoked by the user-interface thread at the next reasonable opportunity. The thread which calls this method is suspended until the runnable completes.

Parameters:
runnablecode to run on the user-interface thread

Implements de.fu_berlin.inf.dpp.synchronize.UISynchronizer.

 All Classes Namespaces Files Functions Variables Enumerations