public class FileSaveCommand extends Object implements Command, UndoContextAware
| Constructor and Description |
|---|
FileSaveCommand(ConsoleEditor editor) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Executes the command.
|
UndoContext |
getUndoContext() |
void |
setUndoContext(UndoContext undoContext)
Sets the
UndoContext. |
public FileSaveCommand(ConsoleEditor editor)
public void execute()
Commandpublic UndoContext getUndoContext()
public void setUndoContext(UndoContext undoContext)
UndoContextAwareUndoContext.setUndoContext in interface UndoContextAwareCopyright © 2013. All Rights Reserved.