如何在MenuManger中动态隐藏菜单

问题描述

我正在使用星云nat表中上下文菜单的menumanger。我想根据我在行中的选择显示/隐藏我的菜单中的菜单。如何动态地做到这一点?

谢谢, 钦纳

解决方法

也许这篇博客文章有助于实现您的目标

http://blog.vogella.com/2015/02/03/nattable-context-menus-with-eclipse-menus/