summaryrefslogtreecommitdiff
path: root/offapi/com/sun/star/inspection/XPropertyControlFactory.idl
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2006-03-14 10:08:01 +0000
committerVladimir Glazounov <vg@openoffice.org>2006-03-14 10:08:01 +0000
commit06e28b8ddc8a72429e4d7f67456be99b02acd09e (patch)
tree36e4e23fec01c6d5855a93d92d76fb0b3eaacf00 /offapi/com/sun/star/inspection/XPropertyControlFactory.idl
parent587ef065bebe8e9bca3c20aebc6d5162999e9e31 (diff)
INTEGRATION: CWS pbrwuno (1.1.2); FILE ADDED
2006/02/10 12:01:32 fs 1.1.2.5: reverted previous change 2006/02/10 11:58:51 fs 1.1.2.4: property control type is a long instead of short 2005/12/21 14:17:07 fs 1.1.2.3: proper licence header 2005/10/13 13:14:10 fs 1.1.2.2: #i53095# 2005/09/05 07:54:15 fs 1.1.2.1: #i53095# phase 3, part1: introducing XPropertyControl and relatives
Diffstat (limited to 'offapi/com/sun/star/inspection/XPropertyControlFactory.idl')
-rw-r--r--offapi/com/sun/star/inspection/XPropertyControlFactory.idl83
1 files changed, 83 insertions, 0 deletions
diff --git a/offapi/com/sun/star/inspection/XPropertyControlFactory.idl b/offapi/com/sun/star/inspection/XPropertyControlFactory.idl
new file mode 100644
index 000000000000..e206d424b126
--- /dev/null
+++ b/offapi/com/sun/star/inspection/XPropertyControlFactory.idl
@@ -0,0 +1,83 @@
+/*************************************************************************
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: XPropertyControlFactory.idl,v $
+ *
+ * $Revision: 1.2 $
+ *
+ * last change: $Author: vg $ $Date: 2006-03-14 11:08:01 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+ *
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2005 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ ************************************************************************/
+
+#ifndef __com_sun_star_inspection_XPropertyControlFactory_idl__
+#define __com_sun_star_inspection_XPropertyControlFactory_idl__
+
+#ifndef __com_sun_star_lang_IllegalArgumentException_idl__
+#include <com/sun/star/lang/IllegalArgumentException.idl>
+#endif
+
+//=============================================================================
+module com { module sun { module star { module inspection {
+
+interface XPropertyControl;
+
+//-----------------------------------------------------------------------------
+/** a factory for <type>XPropertyControl</type>s
+*/
+interface XPropertyControlFactory
+{
+ /** creates a <type>XPropertyControl</type>
+
+ <p>A <type>XPropertyControlFactory</type> can create any of the control types denoted by
+ the <type>PropertyControlType</type> constants.</p>
+
+ @param ControlType
+ the type of the requested control
+ @param CreateReadOnly
+ determines whether the newly created control should be readonly.
+
+ <p>If this argument is <TRUE/>, this does not necessarily mean that the property cannot be
+ changed at all in the <type>ObjectInspector</type>. Instead, an <type>XPropertyHandler</type>
+ can still decide that there is a dedicated UI for entering the property value,
+ which is usually triggered by a <member>LineDescriptor::PrimaryButton</member>.</p>
+
+ @returns
+ a control of the given type.
+
+ @throws com::sun::star::lang::IllegalArgumentException
+ if the given <arg>ControlType</arg> is not a value <type>PropertyControlType</type>
+ */
+ XPropertyControl createPropertyControl( [in] short ControlType, [in] boolean CreateReadOnly )
+ raises ( com::sun::star::lang::IllegalArgumentException );
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
+