Re: [dev] menu bar and toolbars listener

2005-09-06 Thread Mathias Bauer
Carsten Driesner wrote:

 A dispatch inceptor is not able to determine which user
 interface element invoked the command. See chapter 6.1.6 Office
 Development - OpenOffice.org Application Environment - Using the
 Dispatch Framework in the Developer's Guide.

To make it more clear: this is not a defect, this is by intent! Users
expect that a menu command does the same as the corresponding toolbar
command. Everything else would be irritating. Consequently the OOo API
for suppressing or redirecting functionality abstracts from the concrete
GUI source of the command request.

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]



[dev] menu bar and toolbars listener

2005-09-02 Thread Pam Z

Hi,
how can I obtain the references to the menu bar and toolbars of a text 
document?Because I want to register a XActionListener to that objects, 
if it is possible, in order to receive all the events thrown by the 
toolbar buttons and the menu items.

Thanks!


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