Class ProgressCopyCommandFactory


  • public final class ProgressCopyCommandFactory
    extends java.lang.Object
    Factory to create copy commands enabling progress reposrting.
    Since:
    1.11
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.eclipse.emf.common.command.Command create​(org.eclipse.emf.edit.domain.EditingDomain domain, java.util.Collection<?> collection, IProgressMonitorProvider monitor)
      This creates a command that copies the given collection of objects.
      • Methods inherited from class java.lang.Object

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

      • create

        public static org.eclipse.emf.common.command.Command create​(org.eclipse.emf.edit.domain.EditingDomain domain,
                                                                    java.util.Collection<?> collection,
                                                                    IProgressMonitorProvider monitor)
        This creates a command that copies the given collection of objects. If the collection contains more than one object, then a compound command will be created containing individual copy commands for each object.
        Parameters:
        domain - EditingDomain
        collection - objects to copy
        monitor - the monitor.
        Returns:
        the copy command.