org.gvsig.tools.undo.command
Interface Command

All Superinterfaces:
UndoRedoInfo
All Known Implementing Classes:
AbstractCommand, CompoundCommand

public interface Command
extends UndoRedoInfo

Undo/Redoable command interface.

Author:
Cèsar Ordiñana

Field Summary
 
Fields inherited from interface org.gvsig.tools.undo.UndoRedoInfo
DELETE, INSERT, UPDATE
 
Method Summary
 void redo()
          Re-does the following redoable command.
 void undo()
          Undoes the following undoable command.
 
Methods inherited from interface org.gvsig.tools.undo.UndoRedoInfo
getDate, getDescription, getType
 

Method Detail

undo

void undo()
          throws UndoException
Undoes the following undoable command.

Throws:
UndoException - if there is an error performing de undo action

redo

void redo()
          throws RedoException
Re-does the following redoable command.

Throws:
RedoException - if there is an error performing de redo action


Copyright © 2004-2011 gvSIG. All Rights Reserved.