public final class WidgetSideEffects extends Object
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.| Modifier and Type | Method and Description |
|---|---|
static org.eclipse.core.databinding.observable.sideeffect.ISideEffectFactory |
createFactory(Widget disposableWidget)
Creates an
ISideEffectFactory which will dispose all created
ISideEffect instances automatically in case the given
Widget is disposed. |
public static org.eclipse.core.databinding.observable.sideeffect.ISideEffectFactory createFactory(Widget disposableWidget)
ISideEffectFactory which will dispose all created
ISideEffect instances automatically in case the given
Widget is disposed.disposableWidget - Widget where a dispose listener will be attached to
automatically dispose all ISideEffect instances which
have been created by the returned ISideEffectFactory.
Copyright (c) 2000, 2017 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.