Class WidgetSideEffects
java.lang.Object
org.eclipse.jface.databinding.swt.WidgetSideEffects
A factory for the creation of an
ISideEffectFactory, which internally
manages the created ISideEffects in an CompositeSideEffect. The given
Widget is used to attach an DisposeListener so that all
ISideEffect objects will be disposed automatically on Widget
disposal.- Since:
- 1.8
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.eclipse.core.databinding.observable.sideeffect.ISideEffectFactorycreateFactory(Widget disposableWidget) Creates anISideEffectFactorywhich will dispose all createdISideEffectinstances automatically in case the givenWidgetis disposed.
-
Method Details
-
createFactory
public static org.eclipse.core.databinding.observable.sideeffect.ISideEffectFactory createFactory(Widget disposableWidget) Creates anISideEffectFactorywhich will dispose all createdISideEffectinstances automatically in case the givenWidgetis disposed.- Parameters:
disposableWidget-Widgetwhere a dispose listener will be attached to automatically dispose allISideEffectinstances which have been created by the returnedISideEffectFactory.- Returns:
- ISideEffectFactory
-