From 032071b52fadac4a692d86e8f4e580d91599d9c1 Mon Sep 17 00:00:00 2001 From: Ivo Hinkelmann Date: Mon, 4 Jun 2007 12:37:58 +0000 Subject: 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 --- qadevOOo/tests/java/mod/_forms/OScrollBarModel.java | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'qadevOOo') 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; } -- cgit