Class CellEditorFactory

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.eclipse.jface.viewers.CellEditor createCellEditor​(org.eclipse.emf.ecore.EAttribute multiAttribute, org.eclipse.emf.ecore.EObject eObject, org.eclipse.swt.widgets.Table table, ViewModelContext viewModelContext)
      Creates a new CellEditor for the given arguments.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • createCellEditor

        public org.eclipse.jface.viewers.CellEditor createCellEditor​(org.eclipse.emf.ecore.EAttribute multiAttribute,
                                                                     org.eclipse.emf.ecore.EObject eObject,
                                                                     org.eclipse.swt.widgets.Table table,
                                                                     ViewModelContext viewModelContext)
        Creates a new CellEditor for the given arguments. If no fitting CellEditor is found at the extension point or if there was an exception during the creation a TextCellEditor will be returned as a default.
        Parameters:
        multiAttribute - the feature which is displayed by the MultiAttributeSWTRenderer
        eObject - the EObject
        table - the Table
        viewModelContext - the ViewModelContext
        Returns:
        a ECPCellEditor or a TextCellEditor as a fallback