INTEGRATION: CWS qadev29 (1.8.32); FILE MERGED
2007/04/18 13:06:25 cn 1.8.32.2: #i75120#: new object relation for PropertyBag 2007/03/07 19:42:52 cn 1.8.32.1: #i75120# update comments for new interfaces XPropertyAccess and XPropertyContainer. Test not ready yet.
This commit is contained in:
parent
28f53e5779
commit
02d72211b8
1 changed files with 17 additions and 2 deletions
|
@ -4,9 +4,9 @@
|
|||
*
|
||||
* $RCSfile: ODatabaseForm.java,v $
|
||||
*
|
||||
* $Revision: 1.8 $
|
||||
* $Revision: 1.9 $
|
||||
*
|
||||
* last change: $Author: kz $ $Date: 2005-11-02 17:50:10 $
|
||||
* last change: $Author: ihi $ $Date: 2007-06-04 13:34:15 $
|
||||
*
|
||||
* The Contents of this file are made available subject to
|
||||
* the terms of GNU Lesser General Public License Version 2.1.
|
||||
|
@ -52,6 +52,8 @@ import com.sun.star.awt.XControl;
|
|||
import com.sun.star.awt.XControlModel;
|
||||
import com.sun.star.beans.Property;
|
||||
import com.sun.star.beans.PropertyValue;
|
||||
import com.sun.star.beans.XPropertyAccess;
|
||||
import com.sun.star.beans.XPropertyContainer;
|
||||
import com.sun.star.beans.XPropertySet;
|
||||
import com.sun.star.container.XIndexAccess;
|
||||
import com.sun.star.container.XNameContainer;
|
||||
|
@ -136,6 +138,8 @@ import ifc.sdb._XCompletedExecution;
|
|||
* <li> <code>com::sun::star::sdbcx::XRowLocate</code></li>
|
||||
* <li> <code>com::sun::star::sdbc::XWarningsSupplier</code></li>
|
||||
* <li> <code>com::sun::star::container::XNameContainer</code></li>
|
||||
* <li> <code>com::sun::star::beans::XPropertyAccess</code></li>
|
||||
* <li> <code>com::sun::star::beans::XPropertyContainer</code></li>
|
||||
* <li> <code>com::sun::star::beans::XPropertySet</code></li>
|
||||
* <li> <code>com::sun::star::sdbc::RowSet</code></li>
|
||||
* </ul> <p>
|
||||
|
@ -230,6 +234,8 @@ import ifc.sdb._XCompletedExecution;
|
|||
* @see ifc.sdbcx._XRowLocate
|
||||
* @see ifc.sdbc._XWarningsSupplier
|
||||
* @see ifc.container._XNameContainer
|
||||
* @see ifc.beans._XPropertyAccess
|
||||
* @see ifc.beans._XPropertyContainer
|
||||
* @see ifc.beans._XPropertySet
|
||||
* @see ifc.sdbc._RowSet
|
||||
*/
|
||||
|
@ -737,6 +743,15 @@ public class ODatabaseForm extends TestCase {
|
|||
XRow row = (XRow) UnoRuntime.queryInterface(XRow.class, oObj);
|
||||
tEnv.addObjRelation("XRowUpdate.XRow", row);
|
||||
|
||||
|
||||
tEnv.addObjRelation("XPropertyContainer.propertyNotRemovable", "Cycle");
|
||||
|
||||
PropertyValue propVal = new PropertyValue();
|
||||
propVal.Name = "Name";
|
||||
propVal.Value = "Text since XPropertyAccess";
|
||||
|
||||
tEnv.addObjRelation("XPropertyAccess.propertyToChange", propVal);
|
||||
|
||||
return tEnv;
|
||||
} // finish method getTestEnvironment
|
||||
|
||||
|
|
Loading…
Reference in a new issue