Can not perform actions in multipage GEF editor [message #200006] |
Thu, 20 October 2005 07:26  |
Eclipse User |
|
|
|
Originally posted by: outiejun.yeah.net
Hello everyone:
I have a multipage editor, the first page is a GEF editor, and the
second is a common editor. I registered delete action in gef editor, but it
never works. But it is ok in single gef editor, what is the problem in
multipage editor contains gef editor?
private KeyHandler getKeyHandler() {
KeyHandler keyHandler = new KeyHandler();
keyHandler.put(KeyStroke.getPressed(SWT.DEL, 127, 0),
getActionRegistry().getAction(ActionFactory.DELETE.getId())) ;
return keyHandler;
}
|
|
|
Re: Can not perform actions in multipage GEF editor [message #200029 is a reply to message #200006] |
Thu, 20 October 2005 09:38  |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
Please search the newsgroup
"outiejun" <outiejun@yeah.net> wrote in message
news:dj7utj$ct0$1@news.eclipse.org...
> Hello everyone:
>
> I have a multipage editor, the first page is a GEF editor, and the
> second is a common editor. I registered delete action in gef editor, but
> it never works. But it is ok in single gef editor, what is the problem in
> multipage editor contains gef editor?
>
>
> private KeyHandler getKeyHandler() {
> KeyHandler keyHandler = new KeyHandler();
> keyHandler.put(KeyStroke.getPressed(SWT.DEL, 127, 0),
> getActionRegistry().getAction(ActionFactory.DELETE.getId())) ;
>
> return keyHandler;
> }
>
|
|
|
Powered by
FUDForum. Page generated in 0.04862 seconds