| [news.eclipse.modeling.gmf] Re: How do I forbid deletion of elements? |
Hello Agatha,
thank you very much. It worked.
Cheers, Alexander
Hello Alexander...
have a look at this: http://dev.eclipse.org/newslists/news.eclipse.modeling.gmf/msg08228.html
Alexander Dotor schrieb:Hi,
I want to forbid the deletion of model elements. How do I achieve this?
I tried to replace the Default command via an edit helper but this works only if I call the delete action of the object's context menu. Prsssing "Del" seems to call an entirely different command.
Greetings, Alexander