Community
Participate
Working Groups
I created my own property descriptor. This has a TextCellEditor. I did that to add my menu item to the context menu of the text editor of the property descriptor. In Windows XP, the method Control.getMenu() return null if you didn’t set the menu before which is the default. But there is a context menu that shows up in the edit control from the OS. This menu has Undo, cut, copy... menu items. In my case I wanted to add my menu item to this context menu. The only way that I know of is to create a menu and call setMenu() method. Once you do that the OS menu disappears and my new menu shows up. This leads to loosing the undo functionality in the edit control. I need a way to add my menu items to the OS menu. If you need more information, please contact Sameh Ayoub There is a defect open for the same issue RATLC00546213,
There is no way I know to get the standard edit menu from Windows. I'm going to mark this as a duplicate as a request for undo API for the text control. *** This bug has been marked as a duplicate of 6276 ***