org.eclipse.emf.facet.widgets.celleditors
Interface IWidget<T>

All Known Implementing Classes:
AbstractCellEditorComposite, BigDecimalComposite, BigIntegerComposite, BooleanComposite, ByteComposite, CharComposite, DoubleComposite, FloatComposite, IntComposite, LongComposite, ShortComposite, StringComposite, StringMultiComposite

public interface IWidget<T>

Implemented by Composites that are encapsulated in cell editors


Method Summary
 void addCommitListener(Listener listener)
          Add a listener for changes to the value
 IValidator getValidator()
           
 T getValue()
          Get the value from the widget
 void removeCommitListener(Listener listener)
          Remove an existing listener
 void setValue(T value)
          Set the given value in the widget
 

Method Detail

getValidator

IValidator getValidator()
Returns:
the validator used to determine whether an entered value is accepted

addCommitListener

void addCommitListener(Listener listener)
Add a listener for changes to the value


removeCommitListener

void removeCommitListener(Listener listener)
Remove an existing listener


setValue

void setValue(T value)
Set the given value in the widget


getValue

T getValue()
Get the value from the widget