Eclipse RCP table右键菜单一

xiaoxiao2024-11-30  20

MenuManager menuManager = new MenuManager(); menuManager.add(new Action("Action") { @Override public void run() { MessageBox box = new MessageBox(Display.getCurrent().getActiveShell()); box.setMessage("hello!"); box.open(); } }); Menu menu = menuManager.createContextMenu(table); table.setMenu(menu); 相关资源:敏捷开发V1.0.pptx
转载请注明原文地址: https://www.6miu.com/read-5020449.html

最新回复(0)