Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsCan/Should a swt.widgets.List have a context menu?
https://www.eclipse.org/forums/index.php/mv/msg/141495/445907/#msg_445907
Viewpart. I don't see how to do it.
Is this a bad idea and unecessary?
thanks,
fred]]>Fred Clewis2004-11-11T18:58:47-00:00Re: Can/Should a swt.widgets.List have a context menu?
https://www.eclipse.org/forums/index.php/mv/msg/141495/445911/#msg_445911
"Fred Clewis" <clewisf@us.ibm.com> wrote in message
news:cn0cok$9kl$1@eclipse.org...
> How could a swt.widgets.List have a context menu? It is part of a
> Viewpart. I don't see how to do it.
>
> Is this a bad idea and unecessary?
>
> thanks,
> fred]]>Veronika Irvine2004-11-11T19:15:31-00:00Re: Can/Should a swt.widgets.List have a context menu?
https://www.eclipse.org/forums/index.php/mv/msg/141495/446560/#msg_446560
If you want to hook a context menu onto an swt List directly (ie.- not
through some eclipse extension point, etc.) then it should be no different
than for any other widget. For an example of this see http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet40.java?rev=HEAD&a mp;content-type=text/vnd.viewcvs-markup .
Grant
"Fred Clewis" <clewisf@us.ibm.com> wrote in message
news:cn0cok$9kl$1@eclipse.org...
> How could a swt.widgets.List have a context menu? It is part of a
> Viewpart. I don't see how to do it.
>
> Is this a bad idea and unecessary?
>
> thanks,
> fred]]>Grant Gayed2004-11-26T14:57:43-00:00