public class ControlDecorationSupport extends Object
ValidationStatusProvider with
ControlDecorations mirroring the current validation status. Only those target observables which implement
ISWTObservable or IViewerObservable are decorated.| Modifier and Type | Method and Description |
|---|---|
static ControlDecorationSupport |
create(org.eclipse.core.databinding.ValidationStatusProvider validationStatusProvider,
int position)
Creates a ControlDecorationSupport which observes the validation status of the specified
ValidationStatusProvider, and displays a ControlDecoration over the underlying SWT control of all
target observables that implement ISWTObservable or IViewerObservable. |
static ControlDecorationSupport |
create(org.eclipse.core.databinding.ValidationStatusProvider validationStatusProvider,
int position,
org.eclipse.swt.widgets.Composite composite)
Creates a ControlDecorationSupport which observes the validation status of the specified
ValidationStatusProvider, and displays a ControlDecoration over the underlying SWT control of all
target observables that implement ISWTObservable or IViewerObservable. |
static ControlDecorationSupport |
create(org.eclipse.core.databinding.ValidationStatusProvider validationStatusProvider,
int position,
org.eclipse.swt.widgets.Composite composite,
ControlDecorationUpdater updater)
Creates a ControlDecorationSupport which observes the validation status of the specified
ValidationStatusProvider, and displays a ControlDecoration over the underlying SWT control of all
target observables that implement ISWTObservable or IViewerObservable. |
void |
dispose()
Disposes this ControlDecorationSupport, including all control decorations managed by it.
|
void |
hideDecorations()
Hide Decorations
|
public static ControlDecorationSupport create(org.eclipse.core.databinding.ValidationStatusProvider validationStatusProvider, int position)
ValidationStatusProvider, and displays a ControlDecoration over the underlying SWT control of all
target observables that implement ISWTObservable or IViewerObservable.validationStatusProvider - the ValidationStatusProvider to monitor.position - SWT alignment constant (e.g. SWT.LEFT | SWT.TOP) to use when constructing
ControlDecorationSupportValidationStatusProvider, and displays a ControlDecoration over the underlying SWT control of all
target observables that implement ISWTObservable or IViewerObservable.public static ControlDecorationSupport create(org.eclipse.core.databinding.ValidationStatusProvider validationStatusProvider, int position, org.eclipse.swt.widgets.Composite composite)
ValidationStatusProvider, and displays a ControlDecoration over the underlying SWT control of all
target observables that implement ISWTObservable or IViewerObservable.validationStatusProvider - the ValidationStatusProvider to monitor.position - SWT alignment constant (e.g. SWT.LEFT | SWT.TOP) to use when constructing
ControlDecoration instances.composite - the composite to use when constructing ControlDecoration instances.ValidationStatusProvider, and displays a ControlDecoration over the underlying SWT control of all
target observables that implement ISWTObservable or IViewerObservable.public static ControlDecorationSupport create(org.eclipse.core.databinding.ValidationStatusProvider validationStatusProvider, int position, org.eclipse.swt.widgets.Composite composite, ControlDecorationUpdater updater)
ValidationStatusProvider, and displays a ControlDecoration over the underlying SWT control of all
target observables that implement ISWTObservable or IViewerObservable.validationStatusProvider - the ValidationStatusProvider to monitor.position - SWT alignment constant (e.g. SWT.LEFT | SWT.TOP) to use when constructing
ControlDecoration instances.composite - the composite to use when constructing ControlDecoration instances.updater - custom strategy for updating the ControlDecoration(s) whenever the validation status
changes.ValidationStatusProvider, and displays a ControlDecoration over the underlying SWT control of all
target observables that implement ISWTObservable or IViewerObservable.public void hideDecorations()
public void dispose()
Copyright © 2025 Eclipse Paho. All rights reserved.