Re: [api-features] new/SRC680/m160 : An object can now be locked even using a bridge that does not support exceptions.
Jürgen Schmidt <[email protected]> Tue, 30 May 2006 13:10:05 +0200
| Newsgroups | gmane.comp.openoffice.announce.features |
|---|---|
| Organization | StarOffice / Sun Microsystems, Inc. |
| Message-ID | <[email protected]> |
[email protected] wrote: > *Product* API > *Type* new > *Title* An object can now be locked even using a bridge that does not > support exceptions. > *Posted by* [email protected] > *Affected* [email protected], > *Effective from* SRC680/m160 > > > > API/ BASIC [x] > Configuration [ ] > File format change [ ] > Help/ Guide [ ] > Performance test [ ] > Translation [ ] > UI relevant [ ] > > /*Description*/ > > To allow to lock an object supporting > ::com::sun::star::util::XCloseable or > ::com::sun::star::frame::XDesktop using a bridge that does not support > exceptions a new service ::com::sun::star::embed::InstanceLocker was > implemented. > > After creation the service adds a listener of requested type ( close > or terminate ) to the controlled object and let the listener throw > related veto exception until the service is disposed. It is also > possible on initialization to provide an object that will be requested > for approval before throwing the veto exception. This object could be > useful in case the service is instantiated from another process, so > that in case the communication with the process is broken the approval > object is not accessible and the locked object does not stay locked > forever. > > Please take a look in com/sun/star/embed/InstanceLocker.idl for details. where can i find this file, which cws? Juergen --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]