protected class WrapperItemProvider.ReplacementAffectedObjectCommand extends CommandWrapper
ReplacementAffectedObjectCommand
wraps another command to return as its affected objects the single
wrapper that replaces this wrapper. That is, it obtains the children of the wrapper's owner, and returns a
collection containing the first wrapper whose feature and index match this one's.AbstractCommand.NonDirtying
command
description, isExecutable, isPrepared, label
Constructor and Description |
---|
WrapperItemProvider.ReplacementAffectedObjectCommand(Command command) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<?> |
getAffectedObjects()
Obtains the children of the wrapper's owner, and returns a collection containing the first wrapper whose feature
and index match this one's.
|
canUndo, createCommand, dispose, execute, getCommand, getDescription, getLabel, getResult, prepare, redo, toString, undo
canExecute, chain, setDescription, setLabel
public WrapperItemProvider.ReplacementAffectedObjectCommand(Command command)
public java.util.Collection<?> getAffectedObjects()
getAffectedObjects
in interface Command
getAffectedObjects
in class CommandWrapper