diff options
author | Noel Grandin <noel@peralex.com> | 2012-12-06 14:15:55 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2012-12-06 14:16:44 +0200 |
commit | 19854e653be1dc01f5b655fca851a6e3a651a940 (patch) | |
tree | f19e921125d72db2c132742d3d0a2ea0c66cff79 /offapi/com/sun | |
parent | 8909b2c384154baa2174aa53b433b12b02871e75 (diff) |
fdo#46808, Adapt sdb::ErrorMessageDialog UNO service to new style
Change-Id: Iaf12324e6aa64b268555b0f4c82f04f4c0f6f123
Diffstat (limited to 'offapi/com/sun')
-rw-r--r-- | offapi/com/sun/star/sdb/ErrorMessageDialog.idl | 54 |
1 files changed, 6 insertions, 48 deletions
diff --git a/offapi/com/sun/star/sdb/ErrorMessageDialog.idl b/offapi/com/sun/star/sdb/ErrorMessageDialog.idl index c7e925ffcda6..bd36735b988d 100644 --- a/offapi/com/sun/star/sdb/ErrorMessageDialog.idl +++ b/offapi/com/sun/star/sdb/ErrorMessageDialog.idl @@ -20,15 +20,12 @@ #ifndef __com_sun_star_sdb_ErrorMessageDialog_idl__ #define __com_sun_star_sdb_ErrorMessageDialog_idl__ -#include <com/sun/star/ui/dialogs/XExecutableDialog.idl> #include <com/sun/star/awt/XWindow.idl> -#include <com/sun/star/lang/XInitialization.idl> #include <com/sun/star/beans/XPropertySet.idl> - +#include <com/sun/star/ui/dialogs/XExecutableDialog.idl> module com { module sun { module star { module sdb { - /** provides a dialog for displaying database related exceptions. <p> If applications use any of the functionality provided in the modules @@ -60,47 +57,8 @@ module com { module sun { module star { module sdb { @see com.sun.star.sdb.InteractionHandler </p> */ -published service ErrorMessageDialog +published service ErrorMessageDialog : com::sun::star::ui::dialogs::XExecutableDialog { - /** the title of the (dialog) window - */ - [property] string Title; - - /** parent window to use for the dialog - <p> - This property can't be set while the dialog is being displayed. - </p> - */ - [property] com::sun::star::awt::XWindow ParentWindow; - - /** is the exception displayed by the dialog - <p> - This should contain a - <type scope="com::sun::star::sdbc">SQLException</type> - instance, or an instance - of any class derived from this exception. - </p> - <p> - This property can't be set while the dialog is being displayed. - </p> - */ - [property] any SQLException; - - /** specifies the URL to the help topic to associate with the dialog. - - <p>If This URL is not empty, then the dialog will get a "Help" button, which - directs the user to the given help topic.</p> - */ - [optional, property] string HelpURL; - - /** allows access to the properties of the object - */ - interface com::sun::star::beans::XPropertySet; - - /** allows starting execution of the dialog - */ - interface com::sun::star::ui::dialogs::XExecutableDialog; - /** allows initializing the dialog <p> You do not need to call the initialize method directly, instead you may use the createInstanceWithArguments @@ -123,14 +81,14 @@ published service ErrorMessageDialog <br/> allowed parameters are <ul> - <li><b>Title</b><br/> + <li><b>title</b><br/> String describing the initial title of the dialog. If not specified, a default title is used. </li> - <li><b>ParentWindow</b><br/> + <li><b>parentWindow</b><br/> <type scope="com::sun::star::awt">XWindow</type> describing the parent window to use for the dialog. </li> - <li><b>SQLException</b><br/> + <li><b>sqlException</b><br/> <type scope="com::sun::star::sdbc">SQLException</type> describing the error which is being displayed.<br/> When initializing this value, you may use any derivative of @@ -140,7 +98,7 @@ published service ErrorMessageDialog </ul> </p> */ - interface com::sun::star::lang::XInitialization; + create([in] string initialTitle, [in] com::sun::star::awt::XWindow parentWindow, [in] any sqlException); }; |