org.eclipse.emf.ecp.diffmerge.spi.context
Class DefaultMergeUtil

java.lang.Object
  extended by org.eclipse.emf.ecp.diffmerge.spi.context.DefaultMergeUtil

public final class DefaultMergeUtil
extends Object

This util class provides a method, which allows to copy values from one VControl to another generically.

Author:
Eugen Neufeld

Method Summary
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
equals, 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


Copyright © 2015. All Rights Reserved.