org.eclipse.emf.facet.widgets.celleditors.ecore.composite
Class LongCompositeFactory

java.lang.Object
  extended by org.eclipse.emf.facet.widgets.celleditors.ecore.composite.LongCompositeFactory
All Implemented Interfaces:
ICompositeEditorFactory<java.lang.Long>

public class LongCompositeFactory
extends java.lang.Object
implements ICompositeEditorFactory<java.lang.Long>


Constructor Summary
LongCompositeFactory()
           
 
Method Summary
 AbstractCellEditorComposite<java.lang.Long> createCompositeEditor(Composite parent, int style)
          Create a cell editor composite for a value of type <T>, as a subclass of AbstractCellEditorComposite, which is a SWT Composite suited for use as an in-place editor for values of type <T>.
 java.lang.Class<java.lang.Long> getHandledType()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LongCompositeFactory

public LongCompositeFactory()
Method Detail

createCompositeEditor

public AbstractCellEditorComposite<java.lang.Long> createCompositeEditor(Composite parent,
                                                                         int style)
Description copied from interface: ICompositeEditorFactory
Create a cell editor composite for a value of type <T>, as a subclass of AbstractCellEditorComposite, which is a SWT Composite suited for use as an in-place editor for values of type <T>.

Specified by:
createCompositeEditor in interface ICompositeEditorFactory<java.lang.Long>
Parameters:
parent - the SWT parent of the new composite
style - SWT style bits (SWT#BORDER, etc.)
Returns:
the new cell editor composite

getHandledType

public java.lang.Class<java.lang.Long> getHandledType()
Specified by:
getHandledType in interface ICompositeEditorFactory<java.lang.Long>
Returns:
the type handled by the composite editors created by this factory. This method is required because of type erasure with Java generics.