org.eclipse.emf.emfstore.common
Interface ESRunnableWrapper

All Known Subinterfaces:
ESUIRunnableProvider
All Known Implementing Classes:
PrivilegedRunnableProvider

public interface ESRunnableWrapper

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

Since:
1.7
Author:
emueller

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 © 2016. All Rights Reserved.