--- old/tools/Jemmy/JemmyFX/src/org/jemmy/fx/ByID.java 2016-12-09 13:28:23.494865875 +0300
+++ new/tools/Jemmy/JemmyFX/src/org/jemmy/fx/ByID.java 2016-12-09 13:28:23.434865334 +0300
@@ -1,5 +1,5 @@
/*
- * 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
@@ -33,11 +33,11 @@
import org.jemmy.resources.StringComparePolicy;
/**
- * A criterion to find a control by its ID.
+ * A criterion to find a control by its ID.
*
SAMPLES:Lookup Sample
* @param
* @author Shura
- * @see NodeDock#NodeDock(org.jemmy.interfaces.Parent, org.jemmy.lookup.LookupCriteria[])
+ * @see NodeDock#NodeDock(org.jemmy.interfaces.Parent, org.jemmy.lookup.LookupCriteria[])
*/
public class ByID extends ByStringLookup {
@@ -73,4 +73,11 @@
}.dispatch(Environment.getEnvironment());
}
+
+ @Override
+ public String toString() {
+ return "id is " + super.toString();
+ // TODO: Get access to text and uncomment proper code:
+// return "Id = " + text;
+ }
}