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

java.lang.Object
  extended bycom.iver.cit.gvsig.fmap.write.EditingCommand
      extended bycom.iver.cit.gvsig.fmap.write.DeleteSourceCommand

public class DeleteSourceCommand
extends EditingCommand


Constructor Summary
DeleteSourceCommand(int index)
          Construye un objeto del tipo DeleteCommand con el índice físico del ReadableVectorial
 
Method Summary
 void execute()
          Marca la feature index-ésima del EditionSourceAdapter como eliminada añadiéndola al BitSet deleted
 void executeUndo()
          Elimina el bit del bitmap deleted del EditionSourceAdapter
 
Methods inherited from class com.iver.cit.gvsig.fmap.write.EditingCommand
getEditionSourceAdapter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeleteSourceCommand

public DeleteSourceCommand(int index)
Construye un objeto del tipo DeleteCommand con el índice físico del ReadableVectorial

Method Detail

execute

public void execute()
Marca la feature index-ésima del EditionSourceAdapter como eliminada añadiéndola al BitSet deleted

Specified by:
execute in class EditingCommand

executeUndo

public void executeUndo()
Elimina el bit del bitmap deleted del EditionSourceAdapter

Specified by:
executeUndo in class EditingCommand