org.eclipse.emf.facet.widgets.celleditors
Class AbstractCellEditorComposite<T>

java.lang.Object
  extended by Composite
      extended by org.eclipse.emf.facet.widgets.celleditors.AbstractCellEditorComposite<T>
All Implemented Interfaces:
IWidget<T>, IWidget2<T>
Direct Known Subclasses:
BooleanComposite, StringComposite, StringMultiComposite

public abstract class AbstractCellEditorComposite<T>
extends Composite
implements IWidget<T>, IWidget2<T>


Constructor Summary
AbstractCellEditorComposite(Composite parent)
           
AbstractCellEditorComposite(Composite parent, int style)
           
 
Method Summary
 void addChangeListener(IListener listener)
          Add a listener for changes to the value
 void addCommitListener(Listener listener)
          Deprecated. use IWidget2.addCommitListener(IListener)
 IValidator getValidator()
           
 void removeChangeListener(IListener listener)
          Remove an existing change listener
 void removeCommitListener(Listener listener)
          Deprecated. use IWidget2.removeCommitListener(IListener)
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.facet.widgets.celleditors.IWidget
getValue, setValue
 
Methods inherited from interface org.eclipse.emf.facet.widgets.celleditors.IWidget2
getValue, setValue
 

Constructor Detail

AbstractCellEditorComposite

public AbstractCellEditorComposite(Composite parent)

AbstractCellEditorComposite

public AbstractCellEditorComposite(Composite parent,
                                   int style)
Method Detail

addCommitListener

@Deprecated
public void addCommitListener(Listener listener)
Deprecated. use IWidget2.addCommitListener(IListener)

Description copied from interface: IWidget
Add a listener for changes to the value

Specified by:
addCommitListener in interface IWidget<T>
Specified by:
addCommitListener in interface IWidget2<T>

removeCommitListener

@Deprecated
public void removeCommitListener(Listener listener)
Deprecated. use IWidget2.removeCommitListener(IListener)

Description copied from interface: IWidget
Remove an existing listener

Specified by:
removeCommitListener in interface IWidget<T>
Specified by:
removeCommitListener in interface IWidget2<T>

addChangeListener

public void addChangeListener(IListener listener)
Description copied from interface: IWidget2
Add a listener for changes to the value

Specified by:
addChangeListener in interface IWidget2<T>

removeChangeListener

public void removeChangeListener(IListener listener)
Description copied from interface: IWidget2
Remove an existing change listener

Specified by:
removeChangeListener in interface IWidget2<T>

getValidator

public IValidator getValidator()
Specified by:
getValidator in interface IWidget<T>
Specified by:
getValidator in interface IWidget2<T>
Returns:
the validator used to determine whether an entered value is accepted