Uses of Interface
org.eclipse.core.databinding.observable.sideeffect.ISideEffect
-
Uses of ISideEffect in org.eclipse.core.databinding.observable.sideeffect
Modifier and TypeClassDescriptionfinal class
Represents anISideEffect
that is composed of a bunch of componentISideEffect
s.Modifier and TypeMethodDescriptionstatic <T> ISideEffect
ISideEffect.consumeOnceAsync
(Supplier<T> supplier, Consumer<T> consumer) Runs the given supplier until it returns a non-null result.<T> ISideEffect
ISideEffectFactory.consumeOnceAsync
(Supplier<T> supplier, Consumer<T> consumer) Runs the given supplier until it returns a non-null result.static ISideEffect
Runs the given runnable once synchronously.static <T> ISideEffect
Runs the supplier and passes its result to the consumer.Runs the given runnable once synchronously.<T> ISideEffect
Runs the supplier and passes its result to the consumer.static ISideEffect
ISideEffect.createPaused
(Runnable runnable) Creates a newISideEffect
on the defaultRealm
but does not run it immediately.static ISideEffect
ISideEffect.createPaused
(Realm realm, Runnable runnable) Creates a newISideEffect
on the given Realm but does not activate it immediately.ISideEffectFactory.createPaused
(Runnable runnable) Creates a newISideEffect
on the defaultRealm
but does not run it immediately.ISideEffectFactory.createPaused
(Realm realm, Runnable runnable) Creates a newISideEffect
on the given Realm but does not activate it immediately.static <T> ISideEffect
ISideEffect.createResumed
(Supplier<T> supplier, Consumer<T> consumer) Runs the supplier and passes its result to the consumer.<T> ISideEffect
ISideEffectFactory.createResumed
(Supplier<T> supplier, Consumer<T> consumer) Runs the supplier and passes its result to the consumer.Modifier and TypeMethodDescriptionvoid
CompositeSideEffect.add
(ISideEffect sideEffect) Adds the givenISideEffect
instance from the composite.void
CompositeSideEffect.remove
(ISideEffect sideEffect) Removes the givenISideEffect
instance from the composite.Modifier and TypeMethodDescriptionvoid
CompositeSideEffect.addDisposeListener
(Consumer<ISideEffect> disposalConsumer) void
ISideEffect.addDisposeListener
(Consumer<ISideEffect> disposalConsumer) Adds a listener that will be invoked when thisISideEffect
instance is disposed.static ISideEffectFactory
ISideEffectFactory.createFactory
(Consumer<ISideEffect> sideEffectConsumer) Creates a newISideEffectFactory
which will notify the givenConsumer
of everyISideEffect
that is constructed by the factory.void
CompositeSideEffect.removeDisposeListener
(Consumer<ISideEffect> disposalConsumer) void
ISideEffect.removeDisposeListener
(Consumer<ISideEffect> disposalConsumer) Removes a dispose listener from thisISideEffect
instance.