blob: 77e3da465e5e1c700406c8ca21d6185296e1e07c [file] [log] [blame]
package org.eclipse.core.internal.databinding.provisional.bind;
/**
* This interface is used internally by this package to manage two-way binding
* to the model observable.
*
* @since 1.5
* @noimplement
* @param <T>
*/
interface IModelBinding<T> {
/**
* @return the model from the model side
*/
T getModelValue();
/**
* @param newValue
*/
void setModelValue(T newValue);
/**
* Removes the listener from the model. This method is called when the
* target is disposed.
*/
void removeModelListener();
}