public class ListBinding extends Binding
disposed| Constructor and Description |
|---|
ListBinding(IObservableList target,
IObservableList model,
UpdateListStrategy targetToModelStrategy,
UpdateListStrategy modelToTargetStrategy) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Disposes of this Binding.
|
IObservableValue |
getValidationStatus() |
protected void |
postInit()
Called by
Binding.init(DataBindingContext) after adding this binding to
the context. |
protected void |
preInit()
Called by
Binding.init(DataBindingContext) after setting
Binding.context but before adding this binding to the context. |
void |
updateModelToTarget()
Updates the target's state from the model's state at the next reasonable
opportunity.
|
void |
updateTargetToModel()
Updates the model's state from the target's state at the next reasonable
opportunity.
|
void |
validateModelToTarget()
Validates the model's state at the next reasonable
opportunity.
|
void |
validateTargetToModel()
Validates the target's state at the next reasonable
opportunity.
|
getModel, getModels, getTarget, getTargets, initisDisposedpublic ListBinding(IObservableList target, IObservableList model, UpdateListStrategy targetToModelStrategy, UpdateListStrategy modelToTargetStrategy)
target - model - modelToTargetStrategy - targetToModelStrategy - public IObservableValue getValidationStatus()
getValidationStatus in class ValidationStatusProviderIObservableValue< IStatus > containing
the current validation statusprotected void preInit()
BindingBinding.init(DataBindingContext) after setting
Binding.context but before adding this binding to the context.
Subclasses may use this method to perform initialization that could not
be done in the constructor. Care should be taken not to cause any events
while running this method.protected void postInit()
BindingBinding.init(DataBindingContext) after adding this binding to
the context. Subclasses may use this method to perform initialization
that may cause events to be fired, including BindingEvents that are
forwarded to the data binding context.public void updateModelToTarget()
BindingupdateModelToTarget in class Bindingpublic void updateTargetToModel()
BindingupdateTargetToModel in class Bindingpublic void validateModelToTarget()
BindingvalidateModelToTarget in class Bindingpublic void validateTargetToModel()
BindingvalidateTargetToModel in class Binding
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.