<html> <head> <title>Service InteractionHandler</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" type="text/css" href="../../../../../idl.css"> </head> <body> <div id="adc-idlref"> <a name="_top_"> </a><table class="navimain" border="0" cellpadding="3"> <tr> <td class="navimain"><a href="../../module-ix.html" class="navimain">Overview</a></td> <td class="navimain"><a href="module-ix.html" class="navimain">Module</a></td> <td class="navimain"><a href="InteractionHandler-xref.html" class="navimain">Use</a></td> <td class="navimainnone">Devguide</td> <td class="navimain"><a href="../../../../../index-files/index-1.html" class="navimain">Index</a></td> </tr> </table> <table class="navisub" border="0" cellpadding="0"> <tr> <td class="navisub">Included Services</td> <td class="navisub"><a href="#ExportedInterfaces" class="navisub">Exported Interfaces</a></td> <td class="navisub">Properties' Summary</td> <td class="navisub">Properties' Details</td> </tr> </table> <hr> <table border="0" width="100%" cellpadding="5" cellspacing="3" class="title-table" style="margin-bottom:6pt;"> <tr> <td><p class="namechain"><a href="../../../../../module-ix.html" class="namechain">::</a> <a href="../../../../module-ix.html" class="namechain">com</a> :: <a href="../../../module-ix.html" class="namechain">sun</a> :: <a href="../../module-ix.html" class="namechain">star</a> :: <a href="../module-ix.html" class="namechain">configuration</a> :: <a href="module-ix.html" class="namechain">backend</a> :: </p> </td> </tr> <tr> <td class="title">service InteractionHandler</td> </tr> <tr> <td><dl> <dt><b>Description</b></dt> <dd>An interaction request handler that lets the user handle a number of well known requests via GUI dialogs. </dd> <dd><P>The well known requests handled by this service include <UL> <LI><a href="MergeRecoveryRequest.html">MergeRecoveryRequest</a>*</LI> </UL> The requests marked with an asterisk are only handled if (a) their continuations match certain restrictions (see below), and (b) the necessary resource strings are available (this can be exploited by applications that carry only a subset of all resource files with them).</P> <P>The continuation restrictions are as follows: Let <VAR>C</VAR> be the subset of the provided continuations that are of type ::com::sun::star::<a href="../../task/module-ix.html">task</a>::<a href="../../task/XInteractionApprove.html">XInteractionApprove</a>, ::com::sun::star::<a href="../../task/module-ix.html">task</a>::<a href="../../task/XInteractionDisapprove.html">XInteractionDisapprove</a>, ::com::sun::star::<a href="../../task/module-ix.html">task</a>::<a href="../../task/XInteractionRetry.html">XInteractionRetry</a>, or ::com::sun::star::<a href="../../task/module-ix.html">task</a>::<a href="../../task/XInteractionAbort.html">XInteractionAbort</a> (or of a derived type). All other continuations are ignored for these requests. The request is only handled if the set <VAR>C</VAR> is any of the following: <UL> <LI>Abort</LI> <LI>Retry, Abort</LI> <LI>Approve</LI> <LI>Approve, Abort</LI> <LI>Approve, Disapprove</LI> <LI>Approve, Disapprove, Abort</LI> </UL></P> </dd> <dt><b/></dt> <dd/><dt><b>See also</b></dt> <dd>::com::sun::star::<a href="../../task/module-ix.html">task</a>::<a href="../../task/InteractionHandler.html">InteractionHandler</a></dd> </dl> </td> </tr> </table> <hr> <a name="ExportedInterfaces"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Exported Interfaces</td> </tr> <tr> <td class="imsum_left">::com::sun::star::<a href="../../task/module-ix.html">task</a>::<a href="../../task/XInteractionHandler.html">XInteractionHandler</a></td> <td class="imsum_right"><dl> <dt><b>Description</b></dt> <dd>Handle an interaction request. </dd> </dl> </td> </tr> <tr> <td class="imsum_left">::com::sun::star::<a href="../../lang/module-ix.html">lang</a>::<a href="../../lang/XInitialization.html">XInitialization</a></td> <td class="imsum_right"><dl> <dt><b>Description</b></dt> <dd>Initialize the interaction handler. </dd> <dd><P>The arguments must be a sequence of ::com::sun::star::<a href="../../beans/module-ix.html">beans</a>::<a href="../../beans/PropertyValue.html">PropertyValue</a>s. The currently supported properties are: <UL> <LI><code>"Parent"</code> of type ::com::sun::star::<a href="../../awt/module-ix.html">awt</a>::<a href="../../awt/XWindow.html">XWindow</a> denotes the parent window for any GUI dialogs the interaction handler pops up; it is strongly recommended that this property is supplied;</LI> <LI><code>"Context"</code> of type <code>string</code> is a textual description of the current context (used, e.g., as a first line of text in error boxes); this property is optional.</LI> </UL></P> </dd> </dl> </td> </tr> </table> <br> <a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright © 2008 Sun Microsystems, Inc.</p> </div> <!-- id="adc-idlref" --> </body> </html>