invoking Swing actionhandlers from RCP application menu [message #463919] |
Tue, 20 February 2007 09:17 |
Eclipse User |
|
|
|
Originally posted by: chezanand.gmail.com
Folks
I have a Swing application running in the editor area (accomplished by using
the SWT_AWT bridge).
The Swing application has a toolbar of its own, each toolbar item has its
action handler class which implements the actionPerformed method. I have no
issues to invoking the handlers by clicking on the toolbar menu items.
What I would now like to accomplish is this :
I need to have menu items in the RCP application to invoke the same handlers
that the toolbar does. For this, I tried using reflection to get invoke the
actionPerformed in the handlers. But , does'nt seem to work.
any ideas why? any other way to accomplish this?
regards,
Chez
|
|
|
Powered by
FUDForum. Page generated in 0.04214 seconds