Class EditingSupportUtil


  • public final class EditingSupportUtil
    extends java.lang.Object
    Util class for creating EditingSupports.
    Author:
    Johannes Faltermeier
    • Method Detail

      • createEditingSupport

        public static EditingSupportCreator createEditingSupport​(VDomainModelReference domainModelReference,
                                                                 org.eclipse.emf.ecore.EObject parent,
                                                                 CellEditorCreator cellEditor)
        Creates an editing support for the given DMR + CellEditor.
        Parameters:
        domainModelReference - the VDomainModelReference
        parent - the domain model
        cellEditor - the editor
        Returns:
        the editing support creator
      • createEditingSupport

        public static EditingSupportCreator createEditingSupport​(CellEditorCreator cellEditor,
                                                                 org.eclipse.emf.ecore.EObject parent,
                                                                 org.eclipse.emf.ecore.EStructuralFeature feature,
                                                                 org.eclipse.emf.ecore.EReference... path)
        Creates an editing support for the value at the given path + CellEditor.
        Parameters:
        feature - the feature of the value
        path - the path of the value
        parent - the domain model
        cellEditor - the editor
        Returns:
        the editing support creator