Class DefaultMergeUtil


  • public final class DefaultMergeUtil
    extends java.lang.Object
    This util class provides a method, which allows to copy values from one VControl to another generically.
    Author:
    Eugen Neufeld
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void copyValues​(VControl from, org.eclipse.emf.ecore.EObject fromDomainModel, VControl to, org.eclipse.emf.ecore.EObject toDomainModel)
      Copies the values from one VControl to another.
      • Methods inherited from class java.lang.Object

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

      • copyValues

        public static void copyValues​(VControl from,
                                      org.eclipse.emf.ecore.EObject fromDomainModel,
                                      VControl to,
                                      org.eclipse.emf.ecore.EObject toDomainModel)
        Copies the values from one VControl to another.
        Parameters:
        from - the VControl holding the values
        fromDomainModel - The domain model belonging to the 'from control'.
        to - the VControl which values should be updated
        toDomainModel - The domain model belonging to the 'to control'.
        Since:
        1.6