Override "DEL" keybinding in diagram [message #143271] |
Wed, 18 July 2007 10:55  |
Eclipse User |
|
|
|
hi,
i have a problem with the "DEL" key binding in non-syncronized diagrams.
the problem is, that using the "DEL" key only removes the view but not
the model element. i remember that there was an option in earlier gmf
versions where the user was asked whether to remove the view only or the
model element as well, but i can't remember where to activate this option.
i've also tried to override the "DEL" key binding using
org.eclipse.ui.bindings and org.eclipse.ui.commands extension points,
similiar to the new F5 key binding. i've tried to trigger the key action
with an implementation of an IHandler, but the execute() method is never
called (other key bindings, e.g. SPACE or END works fine).
is there a way to get control of the "DEL" key, or how to override the
gmf binding for this key?
cheers
|
|
|
Re: Override "DEL" keybinding in diagram [message #144039 is a reply to message #143271] |
Wed, 25 July 2007 07:42  |
Eclipse User |
|
|
|
Hello A.Schuster,
There should be two separate actions for "delete from model" and "delete
from diagram" som eof these actions could be explicitly registered/unregistered
in the generated plugin.xml Did you try to modify generated plugin.xml?
-----------------
Alex Shatalin
|
|
|
Powered by
FUDForum. Page generated in 0.07516 seconds