Class FeatureInsertCommand

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

public class FeatureInsertCommand extends AbstractFeatureCommand
DOCUMENT ME!
Author:
Vicente Caballero Navarro
  • Constructor Details

    • FeatureInsertCommand

      public FeatureInsertCommand(DefaultFeatureStore featureStore, org.gvsig.fmap.dal.feature.EditableFeature feature, String description)
  • Method Details

    • getFeature

      public org.gvsig.fmap.dal.feature.EditableFeature getFeature()
      Description copied from class: AbstractFeatureCommand
      Returns the Feature of this command.
      Overrides:
      getFeature in class AbstractFeatureCommand
      Returns:
      Feature.
    • undo

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

      public int getType()
      Specified by:
      getType in interface org.gvsig.tools.undo.UndoRedoInfo
      Overrides:
      getType in class AbstractFeatureCommand
    • execute

      public void execute() throws org.gvsig.fmap.dal.exception.DataException
      Specified by:
      execute in class AbstractFeatureCommand
      Throws:
      org.gvsig.fmap.dal.exception.DataException