diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2007-06-04 12:37:58 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2007-06-04 12:37:58 +0000 |
commit | 032071b52fadac4a692d86e8f4e580d91599d9c1 (patch) | |
tree | a95eb177d3ce4c7e8104e4abc0069b9638af6e7b | |
parent | fcd17ca2ab71bf12263eb44f14b74f069ae9eb59 (diff) |
INTEGRATION: CWS qadev29 (1.3.36); FILE MERGED
2007/03/07 19:57:08 cn 1.3.36.1: #i75120# implement object relations for XPropertyAccess and XPropertyContainer
-rw-r--r-- | qadevOOo/tests/java/mod/_forms/OScrollBarModel.java | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/qadevOOo/tests/java/mod/_forms/OScrollBarModel.java b/qadevOOo/tests/java/mod/_forms/OScrollBarModel.java index e82f39eeb95d..c51882e85caa 100644 --- a/qadevOOo/tests/java/mod/_forms/OScrollBarModel.java +++ b/qadevOOo/tests/java/mod/_forms/OScrollBarModel.java @@ -4,9 +4,9 @@ * * $RCSfile: OScrollBarModel.java,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: rt $ $Date: 2005-09-09 02:15:46 $ + * last change: $Author: ihi $ $Date: 2007-06-04 13:37:58 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -35,6 +35,7 @@ package mod._forms; +import com.sun.star.beans.PropertyValue; import com.sun.star.drawing.XControlShape; import com.sun.star.drawing.XShape; import com.sun.star.lang.XMultiServiceFactory; @@ -95,6 +96,11 @@ public class OScrollBarModel extends TestCase { String objName = "ScrollBar"; tEnv.addObjRelation("OBJNAME", "com.sun.star.form.component." + objName); + PropertyValue prop = new PropertyValue(); + prop.Name = "HelpText"; + prop.Value = "new Help Text since XPropertyAccess"; + tEnv.addObjRelation("XPropertyAccess.propertyToChange", prop); + tEnv.addObjRelation("XPropertyContainer.propertyNotRemovable", "HelpText"); return tEnv; } |