reformated code

This commit is contained in:
unknown 2014-06-11 20:30:50 +03:00
parent defb4d4ab2
commit b475a6314f

View file

@ -35,7 +35,6 @@ public class RouteStepsPlugin extends OsmandPlugin {
private List<Boolean> pointsStatus;
public RouteStepsPlugin(OsmandApplication app) {
this.app = app;
this.file = new File("/storage/emulated/0/osmand/tracks/", "504.gpx");
@ -46,9 +45,13 @@ public class RouteStepsPlugin extends OsmandPlugin {
getAllPointsStatus();
}
public void setGpxFile(GPXUtilities.GPXFile file){ this.gpx = file;}
public void setGpxFile(GPXUtilities.GPXFile file) {
this.gpx = file;
}
public void saveGPXFile(){ GPXUtilities.writeGpxFile(file,gpx,app); }
public void saveGPXFile() {
GPXUtilities.writeGpxFile(file, gpx, app);
}
public void setCurrentPoint(GPXUtilities.WptPt point) {
currentPoint = point;
@ -92,7 +95,9 @@ public class RouteStepsPlugin extends OsmandPlugin {
//registerWidget(activity);
}
public List<GPXUtilities.WptPt> getPoints() {return currentRoute.points;}
public List<GPXUtilities.WptPt> getPoints() {
return currentRoute.points;
}
public boolean getPointStatus(int numberOfPoint) {
Map<String, String> map = gpx.getExtensionsToRead();