Dynamic popup menu and objectContribution [message #323602] |
Thu, 03 January 2008 15:31 |
Eclipse User |
|
|
|
Originally posted by: juraj.bak.gmail.com
Hi,
I try to create dynamic popup menu on select treeitem in standard Package
explorer or Navigator view. Extension org.eclipse.ui.popupMenus does not
offer possibility to create menu dynamically, but it gives information
about selected items. Extension org.eclipse.ui.menus gives the possibility
to create such menu, but there's no information about selected objects (if
any).
I created one static menu item via org.eclipse.ui.menus and use its
information about selected item while creating dynamic items for
org.eclipse.ui.popupMenus. But it's nasty solution.
Is there a nicer way how to create dynamic popup menu for tree?
Thanks for every advice.
Juraj
|
|
|
|
Powered by
FUDForum. Page generated in 0.03019 seconds