Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Adding SWT entries to JPopupMenu
Adding SWT entries to JPopupMenu [message #328245] Mon, 19 May 2008 21: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 13:43 Go to previous message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
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: Sun Jun 30 13:51:27 GMT 2024

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

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

Back to the top