Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forums(no subject)
https://www.eclipse.org/forums/index.php/mv/msg/227424/705883/#msg_705883
OS X (and presumably Windows and Linux) offer very useful OS-contributed
menu options for Text controls, including spelling, lookup, etc.
I'm wanting to add menu items of my own, but I don't seem to be able to
get this OS-provided menu object.
When I create a menu of my own, it is missing these items, of course.
Does anyone know how to grab the OS-provided menu, and either add to it,
or to copy its menu items somehow into one I create?
Cheers,
Simon Pope]]>Simon Pope2011-07-30T12:24:40-00:00(no subject)
https://www.eclipse.org/forums/index.php/mv/msg/227424/715233/#msg_715233
There isn't a way to do this. I don't know if it's technically possible
because it would require the platforms to make the handles of these
default menus available for clients to modify. If you want you can log
a Feature Request with SWT for this, to at least be investigated.
Grant
On 7/30/2011 8:24 AM, Simon Pope wrote:
> I'm faced with a problem.
>
> OS X (and presumably Windows and Linux) offer very useful OS-contributed
> menu options for Text controls, including spelling, lookup, etc.
>
> I'm wanting to add menu items of my own, but I don't seem to be able to
> get this OS-provided menu object.
>
> When I create a menu of my own, it is missing these items, of course.
>
> Does anyone know how to grab the OS-provided menu, and either add to it,
> or to copy its menu items somehow into one I create?
>
> Cheers,
>
>
> Simon Pope]]>Grant Gayed2011-08-12T20:55:43-00:00