Commit Graph

6 Commits

Author SHA1 Message Date
1fa5fb8f90 autorecovery: merged changes from m74. Still need to find out how to re-do two patches (to module_hidden_ooo.scp and file_ooo.scp in scp2/source/ooo) which do not apply anymore. 2010-03-11 11:26:05 +01:00
1296914c84 changefileheader2: #i109125#: change source file copyright notice from Sun Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision) 2010-02-12 15:01:35 +01:00
6a35ea7299 autorecovery: more sophisticated configuration data for interaction handlers
The generic css.task.InteractionHandler implementation in module uui is now able to instantiate "sub handlers", i.e.
components to delegate a request to, based on the type of the request, and some configuration data.

The "old" (and now deprecated) configuration scheme at org.openoffice.ucb.InteractionHandler did not contain type
information, so any handlers registered there were always called when no default implementation for a given request
was available.

The "new" configuration scheme at org.openoffice.Interaction contains UNO type information. That is, a given handler
implementation can declare itself responsible for an arbitrary set of UNO types, and for each of those types, whether
it is also responsible for sub types.
The generic interaction handler implementation uses this configuration data, when it encounteres an interaction
request it cannot fullfill itself, to instantiate a component to delegate the request to.

As with the "old" data, such a component is required to support the css.task.XInteractionHandler2 interface. Also,
if it supports css.lang.XInitialization, then it will be initialized with a name-value pair, the name being
"Parent", the value being the XWindow interface of the parent window for any message boxes.

As an examplary implementation for this feature, the css.sdb.InteractionHandler has been deprecated. Now the
css.sdb.DatabaseInteractionHandler is reponsible for database-related interactions, and the new configuration scheme
is pre-filled with data assigning this responsibility.

Consequently, a lot of places previously creating an css.sdb.InteractionHandler have been modified to create the
default css.task.InteractionHandler.
2010-02-01 21:32:33 +01:00
3821462f20 INTEGRATION: CWS sdksample (1.3.124); FILE MERGED
2004/10/28 15:31:58 jsc 1.3.124.1: #i29308# use new bootstrap mechanism
2005-01-31 15:30:37 +00:00
ee6da2f0d7 INTEGRATION: CWS sdk04 (1.2.6); FILE MERGED
2003/06/24 13:36:34 jsc 1.2.6.1: #110313# insert source license header
2003-06-30 14:28:23 +00:00
85442e6aa2 INTEGRATION: CWS sdk02 (1.1.2); FILE ADDED
2003/05/09 11:26:46 jsc 1.1.2.1: #109045# insert new and remove example zip file
2003-06-10 09:25:02 +00:00