[api-dev] Question about XEventListener activation

2008-04-20 Thread Giuseppe Castagno
Hi all, I implemented a Java component, embedded in an extension, which exports a single com.sun.star.frame.ProtocolHandler service. Through the protocol URL, its com.sun.star.frame.XDispatch:dispatch() method is bound to a submenu item. I have an XEventListener which should be fired on OnLoad

[api-dev] XEnhancedMouseClickHandler and Keymodifiers

2008-04-20 Thread Dietmar Hiller
Hallo, my application implements a XEnhancedMouseClickHandler. I react on the mouse released event that gives me also com.sun.star.awt.EnhancedMouseEvent e. I thought, I could read the e.Modifiers, to see, if a shift/alt/ctrl key was pressed while the mouse button was released. But the value is

Re: [api-dev] Question about XEventListener activation

2008-04-20 Thread Ariel Constenla-Haile
Hi Giuseppe, Giuseppe Castagno wrote: Hi all, I implemented a Java component, embedded in an extension, which exports a single com.sun.star.frame.ProtocolHandler service. Through the protocol URL, its com.sun.star.frame.XDispatch:dispatch() method is bound to a submenu item. I have an