ca.odell.glazedlists.swt
Class CalculationsSWT

java.lang.Object
  extended by ca.odell.glazedlists.swt.CalculationsSWT

public final class CalculationsSWT
extends Object

A factory for creating SWT related calculations.

Author:
Holger Brands

Method Summary
static boolean isSWTThreadProxyCalculation(Calculation calc)
          Returns true if calc is a Calculation that fires all of its update events from the SWT event dispatch thread.
static
<E> Calculation<E>
swtThreadProxyCalculation(Calculation<? extends E> source, org.eclipse.swt.widgets.Display display)
          Wraps the source in a Calculation that fires all of its update events from the SWT event dispatch thread.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

swtThreadProxyCalculation

public static <E> Calculation<E> swtThreadProxyCalculation(Calculation<? extends E> source,
                                                           org.eclipse.swt.widgets.Display display)
Wraps the source in a Calculation that fires all of its update events from the SWT event dispatch thread.


isSWTThreadProxyCalculation

public static boolean isSWTThreadProxyCalculation(Calculation calc)
Returns true if calc is a Calculation that fires all of its update events from the SWT event dispatch thread.



Glazed Lists, Copyright © 2003 publicobject.com, O'Dell Engineering.
Documentation build by hbrands at 2017-03-13 22:58