public class SubsetAddCommand extends SubsetCommand
Modifier and Type | Field and Description |
---|---|
protected java.util.Collection<?> |
collection |
protected int |
index |
domain, feature, owner, subsetCommand, supersetFeatures
Constructor and Description |
---|
SubsetAddCommand(org.eclipse.emf.edit.domain.EditingDomain domain,
org.eclipse.emf.ecore.EObject owner,
org.eclipse.emf.ecore.EStructuralFeature feature,
org.eclipse.emf.ecore.EStructuralFeature[] supersetFeatures,
java.util.Collection<?> collection,
int index) |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
prepare
append, appendAndExecute, appendIfCanExecute, canUndo, dispose, getAffectedObjects, getCommandList, getDescription, getLabel, getMergedAffectedObjectsCollection, getMergedResultCollection, getResult, getResultIndex, isEmpty, redo, toString, undo, unwrap
protected final java.util.Collection<?> collection
protected final int index
public SubsetAddCommand(org.eclipse.emf.edit.domain.EditingDomain domain, org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EStructuralFeature feature, org.eclipse.emf.ecore.EStructuralFeature[] supersetFeatures, java.util.Collection<?> collection, int index)
public void execute()
execute
in interface org.eclipse.emf.common.command.Command
execute
in class SubsetCommand