tools/Jemmy/JemmyFX/src/org/jemmy/fx/ByID.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2009, 2016, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation. Oracle designates this

@@ -71,6 +71,13 @@
                 return null;
             }
 
         }.dispatch(Environment.getEnvironment());
     }
+
+    @Override
+    public String toString() {
+        return "id is " + super.toString();
+        // TODO: Get access to text and uncomment proper code:
+//        return "Id = " + text;
+    }
 }