Package org.meteoinfo.map
Class MapViewUndoRedo.AddRingEdit
- java.lang.Object
-
- javax.swing.undo.AbstractUndoableEdit
-
- org.meteoinfo.map.FeatureUndoableEdit
-
- org.meteoinfo.map.MapViewUndoRedo.AddRingEdit
-
- Enclosing class:
- MapViewUndoRedo
public class MapViewUndoRedo.AddRingEdit extends FeatureUndoableEdit
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AddRingEdit(MapView mapView, PolygonShape shape, java.util.List<PointD> points, int polygonIdx, int holeIdx)
-
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
-
AddRingEdit
public AddRingEdit(MapView mapView, PolygonShape shape, java.util.List<PointD> points, int polygonIdx, int holeIdx)
-
-
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
-
-