How to show my own deletion redo/undo label? [message #169482] |
Wed, 23 February 2005 19:58 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: kevinlouisnospam.hotmail.com
The DeleteAction#createDeleteCommand goes through the objects and add the
command to the CompoundCommand. It uses the CompoundCommand even if there
is only one Object selected. That CompoundCommand uses the
GEFMessage.DeleteAction_ActionDeleteCommandName ("Delete") as the label.
My command has the "Delete my shape" label set. But the CompoundCommand
does not take it and my label cannot be shown. The solution I think of is
creating my own DeleteAction and override the createDeleteCommand. In that
case, I can show my custom label even for multiple selection/deletion.
Is there any other way to show my custom label?
|
|
|
|
Powered by
FUDForum. Page generated in 0.03173 seconds