Class SelectionCommandSet

java.lang.Object
org.gvsig.tools.undo.command.impl.AbstractCommand
org.gvsig.fmap.dal.feature.impl.undo.command.SelectionCommandSet
All Implemented Interfaces:
org.gvsig.tools.undo.command.Command, org.gvsig.tools.undo.UndoRedoInfo

public class SelectionCommandSet extends org.gvsig.tools.undo.command.impl.AbstractCommand
Command to allow undo and redo over a set selection operation performed on a store.
Author:
Cèsar Ordiñana
  • Field Summary

    Fields inherited from interface org.gvsig.tools.undo.UndoRedoInfo

    DELETE, INSERT, UPDATE
  • Constructor Summary

    Constructors
    Constructor
    Description
    SelectionCommandSet(DefaultFeatureStore store, org.gvsig.fmap.dal.feature.FeatureSelection oldSelection, org.gvsig.fmap.dal.feature.FeatureSelection newSelection, String description)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    int
     
    void
     
    void
     

    Methods inherited from class org.gvsig.tools.undo.command.impl.AbstractCommand

    getDate, getDescription, toString, updateDate

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • SelectionCommandSet

      public SelectionCommandSet(DefaultFeatureStore store, org.gvsig.fmap.dal.feature.FeatureSelection oldSelection, org.gvsig.fmap.dal.feature.FeatureSelection newSelection, String description)
  • Method Details

    • execute

      public void execute()
    • getType

      public int getType()
    • undo

      public void undo() throws org.gvsig.tools.undo.UndoException
      Throws:
      org.gvsig.tools.undo.UndoException
    • redo

      public void redo() throws org.gvsig.tools.undo.RedoException
      Throws:
      org.gvsig.tools.undo.RedoException