|
Eclipse Platform Release 3.3 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.core.databinding.Binding
org.eclipse.core.databinding.ListBinding
| Field Summary |
|---|
| Fields inherited from class org.eclipse.core.databinding.Binding |
|---|
context, disposed |
| Constructor Summary | |
|---|---|
ListBinding(IObservableList target,
IObservableList model,
UpdateListStrategy targetToModelStrategy,
UpdateListStrategy modelToTargetStrategy)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.eclipse.core.databinding.Binding |
|---|
getModel, getTarget, init, isDisposed |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ListBinding(IObservableList target,
IObservableList model,
UpdateListStrategy targetToModelStrategy,
UpdateListStrategy modelToTargetStrategy)
target - model - modelToTargetStrategy - targetToModelStrategy - | Method Detail |
public IObservableValue getValidationStatus()
getValidationStatus in class Bindingprotected 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.
preInit in class Bindingprotected 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.
postInit in class Bindingpublic void updateModelToTarget()
Binding
updateModelToTarget in class Bindingpublic void updateTargetToModel()
Binding
updateTargetToModel in class Bindingpublic void validateModelToTarget()
Binding
validateModelToTarget in class Bindingpublic void validateTargetToModel()
Binding
validateTargetToModel in class Bindingpublic void dispose()
Binding
dispose in class Binding
|
Eclipse Platform Release 3.3 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.