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));
}
}
|