aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHallvard Traetteberg2012-05-10 03:46:26 (EDT)
committerHallvard Traetteberg2012-06-02 09:36:03 (EDT)
commit0de2cd7729262fed83551b96f98334dcb63c14bc (patch)
tree31a961b3ea95f7487a9fdfae4c830caed409340e
parent79fce915d534ebd23bfe55424a600b797333f6ed (diff)
downloadorg.eclipse.nebula-0de2cd7729262fed83551b96f98334dcb63c14bc.zip
org.eclipse.nebula-0de2cd7729262fed83551b96f98334dcb63c14bc.tar.gz
org.eclipse.nebula-0de2cd7729262fed83551b96f98334dcb63c14bc.tar.bz2
Add toString method
-rw-r--r--widgets/geomap/org.eclipse.nebula.widgets.geomap/src/org/eclipse/nebula/widgets/geomap/PointD.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/widgets/geomap/org.eclipse.nebula.widgets.geomap/src/org/eclipse/nebula/widgets/geomap/PointD.java b/widgets/geomap/org.eclipse.nebula.widgets.geomap/src/org/eclipse/nebula/widgets/geomap/PointD.java
index 3ac54f9..115348a 100644
--- a/widgets/geomap/org.eclipse.nebula.widgets.geomap/src/org/eclipse/nebula/widgets/geomap/PointD.java
+++ b/widgets/geomap/org.eclipse.nebula.widgets.geomap/src/org/eclipse/nebula/widgets/geomap/PointD.java
@@ -35,4 +35,10 @@ public final class PointD {
this.x = x;
this.y = y;
}
-} \ No newline at end of file
+
+ @Override
+ @SuppressWarnings("nls")
+ public String toString() {
+ return "PointD {" + x + ", " + y + "}";
+ }
+}