| Package | Description |
|---|---|
| org.eclipse.core.databinding |
Provides classes for binding observable objects, for example UI widgets and model objects.
|
| org.eclipse.core.databinding.validation |
Provides the core APIs for validation.
|
| org.eclipse.jface.databinding.dialog | |
| org.eclipse.jface.databinding.fieldassist |
Provides classes that bridge between data binding and the JFace Fieldassist framework.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Binding
This abstract class represents a binding between a model and a target.
|
class |
ListBinding |
class |
SetBinding |
| Modifier and Type | Method and Description |
|---|---|
void |
DataBindingContext.addValidationStatusProvider(ValidationStatusProvider validationStatusProvider)
Adds the given validation status provider to this data binding context.
|
boolean |
DataBindingContext.removeValidationStatusProvider(ValidationStatusProvider validationStatusProvider)
Removes the validation status provider.
|
| Modifier and Type | Class and Description |
|---|---|
class |
MultiValidator
A validator for cross-constraints between observables.
|
| Modifier and Type | Method and Description |
|---|---|
String |
IValidationMessageProvider.getMessage(ValidationStatusProvider statusProvider)
Returns the validation message text for the given validation status
provider.
|
String |
ValidationMessageProvider.getMessage(ValidationStatusProvider statusProvider)
Returns the
message of the
IStatus contained in the provided
validationStatusProvider as is or null if the
validationStatusProvider is itself null. |
int |
IValidationMessageProvider.getMessageType(ValidationStatusProvider statusProvider)
Returns the validation message type as one of the constants defined in
IMessageProvider for the given validation status provider. |
int |
ValidationMessageProvider.getMessageType(ValidationStatusProvider statusProvider)
Returns the message type defined in
IMessageProvider which
naturally maps to the IStatus.getSeverity() of the
IStatus contained in the provided
validationStatusProvider. |
| Modifier and Type | Method and Description |
|---|---|
static ControlDecorationSupport |
ControlDecorationSupport.create(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 |
ControlDecorationSupport.create(ValidationStatusProvider validationStatusProvider,
int position,
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 |
ControlDecorationSupport.create(ValidationStatusProvider validationStatusProvider,
int position,
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. |
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.