X-Git-Url: http://gitweb.fperrin.net/?p=GpsPrune.git;a=blobdiff_plain;f=src%2Ftim%2Fprune%2Fundo%2FUndoSplitSegments.java;fp=src%2Ftim%2Fprune%2Fundo%2FUndoSplitSegments.java;h=85968b76d26b68f147e39c6d7791726b859f7e25;hp=0000000000000000000000000000000000000000;hb=ce6f2161b8596f7018d6a76bff79bc9e571f35fd;hpb=2d8cb72e84d5cc1089ce77baf1e34ea3ea2f8465 diff --git a/src/tim/prune/undo/UndoSplitSegments.java b/src/tim/prune/undo/UndoSplitSegments.java new file mode 100644 index 0000000..85968b7 --- /dev/null +++ b/src/tim/prune/undo/UndoSplitSegments.java @@ -0,0 +1,23 @@ +package tim.prune.undo; + +import tim.prune.I18nManager; +import tim.prune.data.Track; + +/** + * Undo splitting of track segments + */ +public class UndoSplitSegments extends UndoMergeTrackSegments +{ + /** Constructor */ + public UndoSplitSegments(Track inTrack) { + super(inTrack, 0, inTrack.getNumPoints()-1); + } + + /** + * @return description of operation + */ + public String getDescription() + { + return I18nManager.getText("undo.splitsegments"); + } +}