Class ProgressAddCommand

  • All Implemented Interfaces:
    org.eclipse.emf.common.command.Command, IProgressMonitorConsumer, org.eclipse.emf.edit.command.OverrideableCommand

    public class ProgressAddCommand
    extends org.eclipse.emf.edit.command.AddCommand
    implements IProgressMonitorConsumer
    AddCommand which is able to report progress.
    Since:
    1.11
    Author:
    Johannes Faltermeier
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.eclipse.emf.common.command.AbstractCommand

        org.eclipse.emf.common.command.AbstractCommand.NonDirtying
    • Field Summary

      • Fields inherited from class org.eclipse.emf.edit.command.AddCommand

        affectedObjects, collection, DESCRIPTION, DESCRIPTION_FOR_LIST, feature, index, LABEL, owner, ownerList
      • Fields inherited from class org.eclipse.emf.edit.command.AbstractOverrideableCommand

        domain, overrideCommand
      • Fields inherited from class org.eclipse.emf.common.command.AbstractCommand

        description, isExecutable, isPrepared, label
    • Constructor Summary

      Constructors 
      Constructor Description
      ProgressAddCommand​(org.eclipse.emf.edit.domain.EditingDomain domain, org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EStructuralFeature feature, java.util.Collection<?> collection, int index)
      Constructs a ProgressAddCommand.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void doExecute()  
      void setIProgressMonitorAccessor​(IProgressMonitorProvider monitor)  
      • Methods inherited from class org.eclipse.emf.edit.command.AddCommand

        create, create, create, create, doGetAffectedObjects, doGetResult, doRedo, doUndo, getCollection, getFeature, getIndex, getOwner, getOwnerList, isUserElement, prepare, toString
      • Methods inherited from class org.eclipse.emf.edit.command.AbstractOverrideableCommand

        canExecute, canUndo, dispose, doCanExecute, doCanUndo, doDispose, doGetChildrenToCopy, doGetDescription, doGetLabel, execute, getAffectedObjects, getChildrenToCopy, getDescription, getDomain, getLabel, getOverride, getOwnerList, getResult, redo, setOverride, undo, updateEMap
      • Methods inherited from class org.eclipse.emf.common.command.AbstractCommand

        chain, setDescription, setLabel
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.eclipse.emf.common.command.Command

        chain
    • Constructor Detail

      • ProgressAddCommand

        public ProgressAddCommand​(org.eclipse.emf.edit.domain.EditingDomain domain,
                                  org.eclipse.emf.ecore.EObject owner,
                                  org.eclipse.emf.ecore.EStructuralFeature feature,
                                  java.util.Collection<?> collection,
                                  int index)
        Constructs a ProgressAddCommand.
        Parameters:
        domain - the EditingDomain
        owner - the parent
        feature - the feature
        collection - the children to add
        index - the start index