org.eclipse.emf.emfstore.client.ui
Interface ESUIRunnableProvider

All Known Implementing Classes:
PrivilegedRunnableProvider

public interface ESUIRunnableProvider

Interface for providing a Runnable which will get executed on the UI Thread.

Since:
1.5
Author:
jfaltermeier

Method Summary
 Runnable createRunnable(Runnable runnable)
          The method is used to create a Runnable which will be executed on the UI thread.
 

Method Detail

createRunnable

Runnable createRunnable(Runnable runnable)
The method is used to create a Runnable which will be executed on the UI thread. The returned Runnable is expected to wrap the given runnable.

Parameters:
runnable - the Runnable which will be executed by the runnable
Returns:
a Runnable which can be executed on the UI Thread in a safe fashion.


Copyright © 2015. All Rights Reserved.