[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools] How to add Popup menu to a new view.

I'm new to eclipse and am developing a plugin using the PDE.  I have a new
view containing a tree viewer and would like to add a popup menu that shows
different options/actions depending on the type of tree node selected.  Can
I add the menu just be adding entries to plugin.xml and if so what entries
do I need?  I have tried adding an object contribution but have not been
able to get a popup menu to show.

Are there any good examples of how to use the TreeViewer classes.  I have
been looking at the navigator code,  but it is very complex and does much
more thatn my farily simple task requires.

Trevor Campbell
Kaz Computer Services