Class CellEditorFactory


  • public final class CellEditorFactory
    extends java.lang.Object
    Factory to created new cell editors.
    Since:
    1.10
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.eclipse.jface.viewers.CellEditor getCellEditor​(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature, org.eclipse.emf.ecore.EObject eObject, org.eclipse.swt.widgets.Composite table, ViewModelContext viewModelContext)
      Returns a new instance of the CellEditor for the given object.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • INSTANCE

        public static final CellEditorFactory INSTANCE
        CellEditorFactory instance.
    • Method Detail

      • getCellEditor

        public org.eclipse.jface.viewers.CellEditor getCellEditor​(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature,
                                                                  org.eclipse.emf.ecore.EObject eObject,
                                                                  org.eclipse.swt.widgets.Composite table,
                                                                  ViewModelContext viewModelContext)
        Returns a new instance of the CellEditor for the given object.
        Parameters:
        eStructuralFeature - the EStructuralFeature displayed in the cell editor
        eObject - the EObject
        table - the parent composite
        viewModelContext - the ViewModelContext used for the current view
        Returns:
        the cell editor