Class ProgressCopyCommandFactory
- java.lang.Object
-
- org.eclipse.emf.ecp.edit.spi.swt.commands.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.
-
-
-
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 copymonitor
- the monitor.- Returns:
- the copy command.
-
-