update dev300-m58
[ooovba.git] / offapi / com / sun / star / awt / UnoControlModel.idl
blob9a1591187e65be2e03e341e2e3be51e65bc912b4
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: UnoControlModel.idl,v $
10 * $Revision: 1.8 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef __com_sun_star_awt_UnoControlModel_idl__
31 #define __com_sun_star_awt_UnoControlModel_idl__
33 #ifndef __com_sun_star_awt_UnoControlDialogElement_idl__
34 #include <com/sun/star/awt/UnoControlDialogElement.idl>
35 #endif
37 #ifndef __com_sun_star_awt_XControlModel_idl__
38 #include <com/sun/star/awt/XControlModel.idl>
39 #endif
41 #ifndef __com_sun_star_lang_XComponent_idl__
42 #include <com/sun/star/lang/XComponent.idl>
43 #endif
45 #ifndef __com_sun_star_beans_XPropertySet_idl__
46 #include <com/sun/star/beans/XPropertySet.idl>
47 #endif
49 #ifndef __com_sun_star_beans_XMultiPropertySet_idl__
50 #include <com/sun/star/beans/XMultiPropertySet.idl>
51 #endif
53 #ifndef __com_sun_star_io_XPersistObject_idl__
54 #include <com/sun/star/io/XPersistObject.idl>
55 #endif
57 #ifndef __com_sun_star_util_XCloneable_idl__
58 #include <com/sun/star/util/XCloneable.idl>
59 #endif
62 //=============================================================================
64 module com { module sun { module star { module awt {
66 //=============================================================================
68 /** specifies the standard model of an <type>UnoControl</type>
69 in the <em>Smalltalk model view controller design</em>.
71 <p>The interfaces <type scope="com::sun::star::beans">XPropertySet</type>
72 and <type scope="com::sun::star::beans">XMultiPropertySet</type> need
73 access to the model data from the embedding environment. The control
74 and the model can specify additional interfaces to exchange data or
75 export more functionality from the model.</p>
77 published service UnoControlModel
79 /** This service is present when the control model is embedded in an
80 <type>UnoControlDialogModel</type>.
82 [optional] service com::sun::star::awt::UnoControlDialogElement;
84 interface com::sun::star::awt::XControlModel;
86 interface com::sun::star::lang::XComponent;
88 interface com::sun::star::beans::XPropertySet;
90 interface com::sun::star::beans::XMultiPropertySet;
92 interface com::sun::star::io::XPersistObject;
94 interface com::sun::star::util::XCloneable;
96 //-------------------------------------------------------------------------
98 /** specifies the service name of the default control for this model.
100 [property] string DefaultControl;
104 //=============================================================================
106 }; }; }; };
108 #endif