Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » invoking Swing actionhandlers from RCP application menu
invoking Swing actionhandlers from RCP application menu [message #463919] Tue, 20 February 2007 09:17
Eclipse UserFriend
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
Previous Topic:[CommonNavigator] Selection changes without focus
Next Topic:maximized editor area on startup
Goto Forum:
  


Current Time: Wed Mar 19 23:13:40 EDT 2025

Powered by FUDForum. Page generated in 0.04214 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top