File: EditPositionsCmd.java

package info (click to toggle)
gpsprune 26.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,824 kB
  • sloc: java: 52,154; sh: 25; makefile: 21; python: 15
file content (16 lines) | stat: -rw-r--r-- 495 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package tim.prune.cmd;

import java.util.List;

import tim.prune.data.Field;
import tim.prune.function.edit.PointEdit;

/** Compound command to set latitude and longitude of a set of points */
public class EditPositionsCmd extends CompoundCommand
{
	public EditPositionsCmd(List<PointEdit> inLatEditList, List<PointEdit> inLonEditList)
	{
		addCommand(new EditSingleFieldCmd(Field.LATITUDE, inLatEditList, null));
		addCommand(new EditSingleFieldCmd(Field.LONGITUDE, inLonEditList, null));
	}
}