On Fri, Jul 25, 2008 at 10:12 PM, Tobias Krais
<[EMAIL PROTECTED]> wrote:

Hi,

> I've got an ugly solution: each second I try to get the storage location
> of my XComponent. As soon as it failes (a disposed exception is thrown),
> I know the document was closed. What do you think about this solution?
> Or do you have any better ideas?

I'm not sure if I understood you correctly, but this can help you ...
Implement interface css.util.XCloseListener and attach it to
document's frame via css.util.XCloseable from css.frame.XFrame.

-- 
Robert Vojta

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to