diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-10-04 14:36:34 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-10-04 14:42:52 +0200 |
commit | dd11a1e57a2565560803dc3fef5fccc9e7157105 (patch) | |
tree | 4adf17c00e21a17b0137a286ce1547b0e56bea2f /offapi | |
parent | fdo#46808, Adapt task::InteractionHandler UNO service to new style (diff) | |
download | core-dd11a1e57a2565560803dc3fef5fccc9e7157105.tar.gz core-dd11a1e57a2565560803dc3fef5fccc9e7157105.zip |
Fixes/improvements on previous commit
* UUIInteractionHandler still needs to implement XInitialization.
* Moved ambiguating InteractionHandler typedef out of the way.
* Removed InteractionHandler.createDefault, as it was originally stated that "it
is strongly recommended that [the "Parent"] property is supplied."
* Added back documentation about Parent and Context.
* Simplified some call-sites to directly use XInteractionHandler2.
Change-Id: I1029b8f3cf079171c75920cafaaa44b5bbada883
Diffstat (limited to 'offapi')
-rw-r--r-- | offapi/com/sun/star/task/InteractionHandler.idl | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/offapi/com/sun/star/task/InteractionHandler.idl b/offapi/com/sun/star/task/InteractionHandler.idl index 524c385ce4ac..74e732346531 100644 --- a/offapi/com/sun/star/task/InteractionHandler.idl +++ b/offapi/com/sun/star/task/InteractionHandler.idl @@ -149,11 +149,22 @@ module com { module sun { module star { module task { */ published service InteractionHandler : XInteractionHandler2 { - createDefault(); + /** Creates an instance. - createWithParent([in] com::sun::star::awt::XWindow parent); + @param parent denotes the parent window for any GUI dialogs the + interaction handler pops up; may be null. + */ + createWithParent([in] com::sun::star::awt::XWindow parent); - createWithParentAndContext([in] com::sun::star::awt::XWindow parent, [in] string context); + /** Creates an instance with an additional context. + + @param parent denotes the parent window for any GUI dialogs the + interaction handler pops up; may be null. + + @param context is a textual description of the current context (used, + e.g., as a first line of text in error boxes). + */ + createWithParentAndContext([in] com::sun::star::awt::XWindow parent, [in] string context); }; }; }; }; }; |