Class SelectionCommandSelect
java.lang.Object
org.gvsig.tools.undo.command.impl.AbstractCommand
org.gvsig.fmap.dal.feature.impl.undo.command.SelectionCommandSelect
- All Implemented Interfaces:
org.gvsig.tools.undo.command.Command,org.gvsig.tools.undo.UndoRedoInfo
public class SelectionCommandSelect
extends org.gvsig.tools.undo.command.impl.AbstractCommand
Command to allow undo and redo over a select or deselect operation performed
on a selection.
- Author:
- Cèsar Ordiñana
-
Field Summary
Fields inherited from interface org.gvsig.tools.undo.UndoRedoInfo
DELETE, INSERT, UPDATE -
Constructor Summary
ConstructorsConstructorDescriptionSelectionCommandSelect(DefaultFeatureReferenceSelection selection, org.gvsig.fmap.dal.feature.FeatureReference reference, boolean select, String description) -
Method Summary
Methods inherited from class org.gvsig.tools.undo.command.impl.AbstractCommand
getDate, getDescription, toString, updateDate
-
Constructor Details
-
SelectionCommandSelect
public SelectionCommandSelect(DefaultFeatureReferenceSelection selection, org.gvsig.fmap.dal.feature.FeatureReference reference, boolean select, 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
-