Need help to get ContextMenu for Shell Trim [message #328612] |
Wed, 28 May 2008 11:44  |
Eclipse User |
|
|
|
Hello,
I have a SashForm in my application, the left site of the SashForm is a
Composite, and it contains several TableViewer for easy navigation, I
just call it ShellTrim; On the right site of the SashForm, I have a
perspective with one or more views. I used eclipse 3.3 context menu
declare mechanism to declare a context menu for my views. The context
menu works well for the views.
I want the same context menu show up when I right mouse click on an item
from a TableViewer of ShellTrim. Since my ShellTrim is not a view, I
cannot register any context menu for it; and for some reason, I cannot
make it a view. Now, I have no idea how to hook the context menu with
my ShellTrim's TableViewer. I really appreciate any help and hint.
Thanks a lot !
Hongying Zhang
|
|
|
|
Powered by
FUDForum. Page generated in 0.07766 seconds