Class SelectionCommandSelectAll

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

public class SelectionCommandSelectAll extends org.gvsig.tools.undo.command.impl.AbstractCommand
Command to allow undo and redo over a select or deselect ALL operation performed on a selection.
Author:
Cèsar Ordiñana
  • Constructor Details

    • SelectionCommandSelectAll

      public SelectionCommandSelectAll(DefaultFeatureReferenceSelection selection, boolean allSelected, String description) throws org.gvsig.fmap.dal.feature.exception.SelectionStateException
      Throws:
      org.gvsig.fmap.dal.feature.exception.SelectionStateException
  • 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