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

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

public class DiskCommandStack
extends java.lang.Object
implements CommandList

Almacena los comandos en disco


Constructor Summary
DiskCommandStack()
           
 
Method Summary
 void close()
          Libera los recursos que usa la pila de comandos para no ser usados más
 void doCommand(EditingCommand c)
          añade un comando y lo ejecuta
 void open()
          Prepara la pila de comandos para ser accedida
 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

DiskCommandStack

public DiskCommandStack()
Method Detail

open

public void open()
Description copied from interface: CommandList
Prepara la pila de comandos para ser accedida

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

close

public void close()
Description copied from interface: CommandList
Libera los recursos que usa la pila de comandos para no ser usados más

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

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()