Package | Description |
---|---|
org.eclipse.wst.jsdt.chromium.debug.ui |
Modifier and Type | Class and Description |
---|---|
static class |
DialogUtils.ExpressionProcessor<T>
A base class for the source-consumer pair that accepts several values as a consumer,
performs a calculation over them and gives it away the result via source interface.
|
static class |
DialogUtils.ValueProcessor<T>
A basic implementation of object that is both consumer and source.
|
Modifier and Type | Method and Description |
---|---|
static <T> DialogUtils.ValueSource<T> |
DialogUtils.createConstant(T constnant,
DialogUtils.Updater updater) |
<P> DialogUtils.ValueSource<P> |
DialogUtils.Switcher.createMerge(DialogUtils.ValueSource<? extends P>... sources)
Creates a merge element, that links to sources inside switcher's scopes and
exposes them outside a single
DialogUtils.ValueSource that has a value of a corresponding source
in an active scope. |
<P> DialogUtils.ValueSource<? extends DialogUtils.Optional<? extends P>> |
DialogUtils.OptionalSwitcher.createOptionalMerge(DialogUtils.ValueSource<? extends DialogUtils.Optional<? extends P>>... sources)
See javadoc for
DialogUtils.Switcher.createMerge(org.eclipse.wst.jsdt.chromium.debug.ui.DialogUtils.ValueSource<? extends P>...) ; the difference of this method is that
all sources have optional type and the merge source itself of optional type. |
static DialogUtils.ValueSource<? extends DialogUtils.Optional<?>>[] |
DialogUtils.dependencies(DialogUtils.ValueSource<? extends DialogUtils.Optional<?>>... sources) |
Modifier and Type | Method and Description |
---|---|
java.util.List<? extends DialogUtils.ValueSource<?>> |
DialogUtils.OkButtonControl.getDependencies()
Returns a list of dependencies for updater -- a convenience method.
|
Modifier and Type | Method and Description |
---|---|
void |
DialogUtils.Updater.addConsumer(DialogUtils.ValueConsumer value,
DialogUtils.ValueSource<?>... dependencies) |
void |
DialogUtils.Updater.addDependency(DialogUtils.ValueConsumer consumer,
DialogUtils.ValueSource<?> source)
Adds a dependency of consumer on source.
|
static void |
DialogUtils.addModifyListener(Button button,
DialogUtils.ValueSource<?> valueSource,
DialogUtils.Updater updater)
Adds a standard modify listener to a button that binds it to updater.
|
static void |
DialogUtils.addModifyListener(Text textElement,
DialogUtils.ValueSource<?> valueSource,
DialogUtils.Updater updater)
Adds a standard modify listener to a text element that binds it to updater.
|
void |
DialogUtils.Updater.addSource(DialogUtils.Scope scope,
DialogUtils.ValueSource<?> source)
Registers a source within a particular scope.
|
<P> DialogUtils.ValueSource<P> |
DialogUtils.Switcher.createMerge(DialogUtils.ValueSource<? extends P>... sources)
Creates a merge element, that links to sources inside switcher's scopes and
exposes them outside a single
DialogUtils.ValueSource that has a value of a corresponding source
in an active scope. |
<P> DialogUtils.ValueSource<? extends DialogUtils.Optional<? extends P>> |
DialogUtils.OptionalSwitcher.createOptionalMerge(DialogUtils.ValueSource<? extends DialogUtils.Optional<? extends P>>... sources)
See javadoc for
DialogUtils.Switcher.createMerge(org.eclipse.wst.jsdt.chromium.debug.ui.DialogUtils.ValueSource<? extends P>...) ; the difference of this method is that
all sources have optional type and the merge source itself of optional type. |
static DialogUtils.ValueSource<? extends DialogUtils.Optional<?>>[] |
DialogUtils.dependencies(DialogUtils.ValueSource<? extends DialogUtils.Optional<?>>... sources) |
void |
DialogUtils.Updater.reportChanged(DialogUtils.ValueSource<?> source)
Reports about sources that have been changed and plans future update of consumers.
|
Modifier and Type | Method and Description |
---|---|
void |
DialogUtils.Updater.addConsumer(DialogUtils.ValueConsumer value,
java.util.List<? extends DialogUtils.ValueSource<?>> dependencies)
Registers a consumer vertex with all its dependencies.
|
void |
DialogUtils.Updater.addDependency(DialogUtils.ValueConsumer consumer,
java.util.List<? extends DialogUtils.ValueSource<?>> sourceList)
Adds a dependency of consumer on several sources.
|
Constructor and Description |
---|
OkButtonControl(DialogUtils.ValueSource<? extends DialogUtils.Optional<? extends T>> resultSource,
java.util.List<? extends DialogUtils.ValueSource<java.lang.String>> warningSources,
DialogUtils.OkButtonElements dialogElements) |
WizardFinishController(DialogUtils.ValueSource<? extends DialogUtils.Optional<? extends WizardUtils.WizardFinisher>> finisherValue,
DialogUtils.ValueSource<? extends DialogUtils.Optional<? extends java.lang.Void>> warningValue,
WizardUtils.LogicBasedWizard wizardImpl) |
WizardFinishController(DialogUtils.ValueSource<? extends DialogUtils.Optional<? extends WizardUtils.WizardFinisher>> finisherValue,
DialogUtils.ValueSource<? extends DialogUtils.Optional<? extends java.lang.Void>> warningValue,
WizardUtils.LogicBasedWizard wizardImpl) |
Constructor and Description |
---|
ExpressionProcessor(java.util.List<DialogUtils.ValueSource<? extends DialogUtils.Optional<?>>> optionalSources) |
OkButtonControl(DialogUtils.ValueSource<? extends DialogUtils.Optional<? extends T>> resultSource,
java.util.List<? extends DialogUtils.ValueSource<java.lang.String>> warningSources,
DialogUtils.OkButtonElements dialogElements) |
Copyright (c) IBM Corp. and others 2000, 2016. All Rights Reserved.