Here's my question: I want to add a menu entry to delete selected figures
on my editor. I've seen it on GEF's examples but i need to understand the
concept also. So... i need to register the delete action on my menu
provider over the viewer, done that (just like i did with undo and redo
and it's working fine). I need to create a delete command (didn't yet, but
no prob doing it), but how do i put it all together? i mean, what do i
need to do to "connect" the menu entry with my delete command?
Cause as far as i understood the redo and undo methods are called by "GEF"
over the command stack, but that's not the point of the delete option...
it's not supposed to mess with the command stack.... (i think)
any help? thanks
By the way... is there a way to hide the default menu options that appear
at the bottom of the popup menu?