/** * This constructs a primitive command to insert a collection of values into the specified many-valued feature of the owner. */ public AddCommand(EditingDomain domain, EObject owner, EStructuralFeature feature, Collection<?> collection, int index) { super(domain, LABEL, DESCRIPTION); this.owner = owner; this.feature = feature; this.collection = collection; this.index = index; ownerList = getOwnerList(owner, feature); }