Daniel Beck wrote: > I created a ContextMenuInterceptorClass, that registers once, then > starting openoffice, to the current frame. > But then, it doesn't work then I opens a new frame, because I is > registered, from the beginning on, at the first active StarOffice component. > > So ... Either > 1)I register the ContextMenuInterceptor so that his > notifyContextMenuExecute method will be called from what either frame a > contextMenuEvent came from (Is that possible?), or
This isn't possible, but it sounds like a good idea. We could make ContextMenuInterceptors working like Add-Ons. > 2) I have to register a new ContextMenuInterceptor each time I open a > new Document, or change the current edited document. Yes. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] is a spam sink. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
