Per Eriksson wrote:
Hi,
As I am currently looking at the menu and toolbar parts of uno I have
some questions about the association of menu items to dialogs.
What is the correct way of setting up commands for Java-based dialogs
using the com.sun.star.awt package? Does there exist any good tutorials
for defining commands and associating them with dialogs?
Hi Per,
I am not sure if I understood your problem correctly. You want to know
how a command which opens a UNO AWT based dialog should look like?
Something like: ".uno:OpenDialog?name:string=MyDialogName"
There is no special command which automatically opens a UNO-AWT
(com.sun.star.awt) based dialog. You can use any command you want which
needs an implementation to load/create and display the dialog. If your
code uses Basic or other scripting languages you have to use a
vnd.sun.star.script URL.
Regards,
Carsten
--
Carsten Driesner (cd) - Project Lead OpenOffice.org Framework
Framework wiki: http://wiki.services.openoffice.org/wiki/Framework
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@framework.openoffice.org
For additional commands, e-mail: dev-h...@framework.openoffice.org