changeset 4:7a1a134d30da

Generate dock subtype lookup constructors for Controls and Labeleds
author shurailine
date Fri, 10 Feb 2012 15:03:45 +0400
parents 1cbc0e0624a8
children bcc026032b4c
files tools/Jemmy/JemmyFX/build.properties tools/Jemmy/JemmyFX/src/org/jemmy/fx/control/ControlWrap.java tools/Jemmy/JemmyFX/src/org/jemmy/fx/control/TextControlWrap.java
diffstat 3 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tools/Jemmy/JemmyFX/build.properties	Mon Feb 06 20:22:13 2012 +0400
+++ b/tools/Jemmy/JemmyFX/build.properties	Fri Feb 10 15:03:45 2012 +0400
@@ -1,1 +1,1 @@
-javafx.home=/opt/FX/2.1.b60
\ No newline at end of file
+javafx.home=/opt/FX/2.1.b12
--- a/tools/Jemmy/JemmyFX/src/org/jemmy/fx/control/ControlWrap.java	Mon Feb 06 20:22:13 2012 +0400
+++ b/tools/Jemmy/JemmyFX/src/org/jemmy/fx/control/ControlWrap.java	Fri Feb 10 15:03:45 2012 +0400
@@ -29,6 +29,7 @@
 import org.jemmy.fx.NodeWrap;
 import org.jemmy.control.ControlType;
 import org.jemmy.control.MethodProperties;
+import org.jemmy.dock.DockInfo;
 import org.jemmy.env.Environment;
 
 /**
@@ -38,6 +39,7 @@
  */
 @ControlType(javafx.scene.control.Control.class)
 @MethodProperties(value = "getTooltip", types = Tooltip.class)
+@DockInfo(generateSubtypeLookups = true)
 public class ControlWrap<T extends javafx.scene.control.Control> extends NodeWrap<T> {
 
     /**
--- a/tools/Jemmy/JemmyFX/src/org/jemmy/fx/control/TextControlWrap.java	Mon Feb 06 20:22:13 2012 +0400
+++ b/tools/Jemmy/JemmyFX/src/org/jemmy/fx/control/TextControlWrap.java	Fri Feb 10 15:03:45 2012 +0400
@@ -31,6 +31,7 @@
 import org.jemmy.control.Wrap;
 import org.jemmy.control.ControlType;
 import org.jemmy.control.Property;
+import org.jemmy.dock.DockInfo;
 import org.jemmy.dock.ObjectLookup;
 import org.jemmy.env.Environment;
 import org.jemmy.lookup.LookupCriteria;
@@ -43,6 +44,7 @@
  */
 @ControlType({Labeled.class})
 @ControlInterfaces({org.jemmy.interfaces.Text.class})
+@DockInfo(generateSubtypeLookups = true)
 public class TextControlWrap<T extends javafx.scene.control.Control> extends ControlWrap<T> implements org.jemmy.interfaces.Text {
 
     @ObjectLookup("text and comparison policy")