Package org.meteoinfo.map
Class MapViewUndoRedo.AddFeaturesEdit
- java.lang.Object
-
- javax.swing.undo.AbstractUndoableEdit
-
- org.meteoinfo.map.FeatureUndoableEdit
-
- org.meteoinfo.map.MapViewUndoRedo.AddFeaturesEdit
-
- Enclosing class:
- MapViewUndoRedo
public class MapViewUndoRedo.AddFeaturesEdit extends FeatureUndoableEdit
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AddFeaturesEdit(MapView mapView, VectorLayer layer, java.util.List<Shape> shapes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetPresentationName()voidredo()voidundo()-
Methods inherited from class javax.swing.undo.AbstractUndoableEdit
addEdit, canRedo, canUndo, die, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit, toString
-
Methods inherited from class org.meteoinfo.map.FeatureUndoableEdit
isFeatureEdit
-
-
-
-
Constructor Detail
-
AddFeaturesEdit
public AddFeaturesEdit(MapView mapView, VectorLayer layer, java.util.List<Shape> shapes)
-
-
Method Detail
-
getPresentationName
public java.lang.String getPresentationName()
- Overrides:
getPresentationNamein classjavax.swing.undo.AbstractUndoableEdit
-
undo
public void undo()
- Overrides:
undoin classjavax.swing.undo.AbstractUndoableEdit
-
redo
public void redo()
- Overrides:
redoin classjavax.swing.undo.AbstractUndoableEdit
-
-