com.iver.cit.gvsig.fmap.write
Class MemoryCommandStack

java.lang.Object
  extended bycom.iver.cit.gvsig.fmap.write.MemoryCommandStack
All Implemented Interfaces:
CommandList

public class MemoryCommandStack
extends java.lang.Object
implements CommandList

Clase que se encarga de mantener la pila de EditingCommand's que se van ejecutando en un fichero temporal.


Constructor Summary
MemoryCommandStack()
           
 
Method Summary
 void close()
          No hace nada
 void compact()
          No hace nada
 void doCommand(EditingCommand c)
          añade un comando y lo ejecuta
 void open()
          No hace nada
 EditingCommand undoCommand()
          deshace un comando y mueve el índice una posición hacia detras
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MemoryCommandStack

public MemoryCommandStack()
Method Detail

open

public void open()
No hace nada

Specified by:
open in interface CommandList

close

public void close()
No hace nada

Specified by:
close in interface CommandList

compact

public void compact()
No hace nada


doCommand

public void doCommand(EditingCommand c)
Description copied from interface: CommandList
añade un comando y lo ejecuta

Specified by:
doCommand in interface CommandList
See Also:
CommandList.doCommand(com.iver.cit.gvsig.fmap.write.EditingCommand)

undoCommand

public EditingCommand undoCommand()
Description copied from interface: CommandList
deshace un comando y mueve el índice una posición hacia detras

Specified by:
undoCommand in interface CommandList
See Also:
CommandList.undoCommand()