X-Git-Url: http://gitweb.fperrin.net/?p=GpsPrune.git;a=blobdiff_plain;f=tim%2Fprune%2Fcorrelate%2FMediaPreviewTableRow.java;fp=tim%2Fprune%2Fcorrelate%2FPhotoPreviewTableRow.java;h=cadede31b39613e5512fc6a98be0d284e8cb814d;hp=70955375c2022fdad279dcf1bfeedb266afbd902;hb=f35b6d628f68e3b5ef19965ad8988d0dd1eb8efa;hpb=3745d70b1427bb8ac1a085e47cbdc566936784e1 diff --git a/tim/prune/correlate/PhotoPreviewTableRow.java b/tim/prune/correlate/MediaPreviewTableRow.java similarity index 70% rename from tim/prune/correlate/PhotoPreviewTableRow.java rename to tim/prune/correlate/MediaPreviewTableRow.java index 7095537..cadede3 100644 --- a/tim/prune/correlate/PhotoPreviewTableRow.java +++ b/tim/prune/correlate/MediaPreviewTableRow.java @@ -3,12 +3,11 @@ package tim.prune.correlate; import tim.prune.data.Distance; /** - * Class to hold contents of a single row - * in the photo preview table + * Class to hold the contents of a single row in the correlation preview table */ -public class PhotoPreviewTableRow extends PhotoSelectionTableRow +public class MediaPreviewTableRow extends MediaSelectionTableRow { - private PointPair _pointPair = null; + private PointMediaPair _pointPair = null; private double _distance = 0.0; private int _status = 0; private boolean _correlate = false; @@ -18,13 +17,13 @@ public class PhotoPreviewTableRow extends PhotoSelectionTableRow * Constructor * @param inPointPair point pair object */ - public PhotoPreviewTableRow(PointPair inPointPair) + public MediaPreviewTableRow(PointMediaPair inPointPair) { - super(inPointPair.getPhoto(), inPointPair.getMinSeconds()); + super(inPointPair.getMedia(), inPointPair.getMinSeconds()); _pointPair = inPointPair; _distance = inPointPair.getMinRadians(); _status = 0; - _correlate = (inPointPair.getPhoto().getDataPoint() == null); + _correlate = (inPointPair.getMedia().getDataPoint() == null); } /** @@ -47,7 +46,7 @@ public class PhotoPreviewTableRow extends PhotoSelectionTableRow /** * @return point pair object */ - public PointPair getPointPair() + public PointMediaPair getPointPair() { return _pointPair; }