Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Is it possible to add menus to table cells?
Is it possible to add menus to table cells? [message #1858653] Thu, 13 April 2023 15:09 Go to next message
David Song is currently offline David SongFriend
Messages: 1
Registered: April 2023
Junior Member
Hi all,
I am going to add multiple operation entries in the form of menus to each row of the last cell in the table instead of org.eclipse.swt.widgets.Menu, and just like the image below:
index.php/fa/43116/0/
Can you give me a thought or help?

Thank you very much。

David

  • Attachment: menu.png
    (Size: 120.06KB, Downloaded 123 times)
Re: Is it possible to add menus to table cells? [message #1858679 is a reply to message #1858653] Sat, 15 April 2023 23:08 Go to previous message
Dmitry Dukhov is currently offline Dmitry DukhovFriend
Messages: 192
Registered: February 2013
Senior Member
Maybe so
MenuManager menuMgr = new MenuManager();
menuMgr.setRemoveAllWhenShown(true);
getTable().setMenu(menuMgr.createContextMenu(getTable()));
menuMgr.addMenuListener(event -> addSomeActionMenu());
Previous Topic:Table's Cell and padding
Next Topic:RAP support of CSS transitions
Goto Forum:
  


Current Time: Sat Jun 22 01:08:22 GMT 2024

Powered by FUDForum. Page generated in 0.02831 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top