public static class DialogUtils.OkButtonControl<T> extends java.lang.Object implements DialogUtils.ValueConsumer
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) |
Modifier and Type | Method and Description |
---|---|
java.util.List<? extends DialogUtils.ValueSource<?>> |
getDependencies()
Returns a list of dependencies for updater -- a convenience method.
|
T |
getNormalValue() |
void |
update(DialogUtils.Updater updater)
Called by updater when some linked sources have changed and it's time this vertex
got updated.
|
public OkButtonControl(DialogUtils.ValueSource<? extends DialogUtils.Optional<? extends T>> resultSource, java.util.List<? extends DialogUtils.ValueSource<java.lang.String>> warningSources, DialogUtils.OkButtonElements dialogElements)
public java.util.List<? extends DialogUtils.ValueSource<?>> getDependencies()
public void update(DialogUtils.Updater updater)
DialogUtils.ValueConsumer
DialogUtils.Updater.reportChanged(org.eclipse.wst.jsdt.chromium.debug.ui.DialogUtils.ValueSource<?>)
may be called if some s have
changed during this update (but this should not break topological order of the graph).update
in interface DialogUtils.ValueConsumer
public T getNormalValue()
Copyright (c) IBM Corp. and others 2000, 2016. All Rights Reserved.