Improve code / xml formatting, #54

This commit is contained in:
Emux
2016-07-12 19:25:33 +03:00
parent e793e8851b
commit 43ca550832
133 changed files with 2803 additions and 2791 deletions

View File

@@ -75,10 +75,10 @@ public class GwtLauncher extends GwtApplication {
private static native int getWindowWidth() /*-{
return $wnd.innerWidth;
}-*/;
}-*/;
private static native int getWindowHeight() /*-{
return $wnd.innerHeight;
}-*/;
}-*/;
}

View File

@@ -66,7 +66,7 @@ public class GwtMap extends GdxMap {
private final native void createLayersN()/*-{
$wnd.createLayers();
}-*/;
}-*/;
@Override
protected void createLayers() {

View File

@@ -15,8 +15,8 @@ public class JsBitmapTileLayer extends BitmapTileLayer implements ExportOverlay<
super(map, tileSource);
}
// @ExportConstructor
// public static BitmapTileLayer constructor(Map map, TileSource tileSource) {
// return new JsBitmapTileLayer(map, tileSource);
// }
// @ExportConstructor
// public static BitmapTileLayer constructor(Map map, TileSource tileSource) {
// return new JsBitmapTileLayer(map, tileSource);
// }
}

View File

@@ -19,9 +19,9 @@ public class JsBitmapTileSource extends BitmapTileSource implements
public ITileDataSource getDataSource() {
return null;
}
// @ExportConstructor
// public static BitmapTileSource constructor(String url, int zoomMin, int zoomMax) {
// return new JsBitmapTileSource(url, zoomMin, zoomMax);
// }
// @ExportConstructor
// public static BitmapTileSource constructor(String url, int zoomMin, int zoomMax) {
// return new JsBitmapTileSource(url, zoomMin, zoomMax);
// }
}

View File

@@ -53,7 +53,7 @@ public class JsMap implements Exportable {
mMap = map;
}
// @ExportInstanceMethod("foo")
// @ExportInstanceMethod("foo")
// public static String instanceMethod(Map instance, String surname) {
// return instance.getName() + "-" + surname;
// }

View File

@@ -122,8 +122,8 @@ public class JsOverlays implements Exportable {
}
}
// @ExportPackage("vtm")
// @Export("Viewport")
// public interface XViewport extends ExportOverlay
// @ExportPackage("vtm")
// @Export("Viewport")
// public interface XViewport extends ExportOverlay
//
}