org.eclipse.emf.facet.util.emf.core
Class CommandFactory

java.lang.Object
  extended by org.eclipse.emf.facet.util.emf.core.CommandFactory

public final class CommandFactory
extends java.lang.Object


Method Summary
static Command createSetResourceContentsCommand(Resource resource, java.util.Collection<EObject> content)
          This method creates a command to set a collection of element to a resource
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createSetResourceContentsCommand

public static Command createSetResourceContentsCommand(Resource resource,
                                                       java.util.Collection<EObject> content)
This method creates a command to set a collection of element to a resource

Parameters:
resource - the resource to set
content - a collection of EObject to set as the content of the resource.
Returns:
an EMF Command