public class CompoundCommand extends AbstractCommand
Modifier and Type | Field and Description |
---|---|
protected Command[] |
commands |
version
Constructor and Description |
---|
CompoundCommand(Command... commands) |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
Element |
getModifiedElement() |
void |
undo() |
getVersion, setVersion
protected Command[] commands
public CompoundCommand(Command... commands)
public void execute()
public void undo()
public Element getModifiedElement()
Copyright © 2012 Uppsala University and Aalborg University. All Rights Reserved.