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