Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Adding SWT entries to JPopupMenu
Adding SWT entries to JPopupMenu [message #328245] Mon, 19 May 2008 17:36 Go to next message
Eclipse UserFriend
Originally posted by: da_jainer.yahoo.com

A question on mixing SWT & Swing Menus
Is it possible to add eclipse menu contributions to a JPopupMenu.
If yes then any pointers?
Thanks
Dev
Re: Adding SWT entries to JPopupMenu [message #328344 is a reply to message #328245] Thu, 22 May 2008 09:43 Go to previous message
Eclipse UserFriend
At the swt level, JPopupMenu and its items are not compatible with swt Menus
and MenuItems.

I don't know if a higher-level mechanism exists for reading menu
contributions and creating Swing menus from them instead of swt menus,
though my guess is that it doesn't. You may be able to write this if api
exists for accessing eclipse's registered menu contributions.

Grant


"Dev" <da_jainer@yahoo.com> wrote in message
news:f52c5778a5be79b122dbe842b4295f20$1@www.eclipse.org...
> A question on mixing SWT & Swing Menus
> Is it possible to add eclipse menu contributions to a JPopupMenu.
> If yes then any pointers?
> Thanks
> Dev
>
Previous Topic:RunTimeException (Ganymede) - C:\Eclipse\configuration\org.eclipse.osgi\.lazy.3
Next Topic:Developers beware: many eclipse filenames are getting too long for Windows...
Goto Forum:
  


Current Time: Wed Apr 30 18:32:52 EDT 2025

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

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

Back to the top