Skip to main content



      Home
Home » Eclipse Projects » GEF » Can not perform actions in multipage GEF editor
Can not perform actions in multipage GEF editor [message #200006] Thu, 20 October 2005 07:26 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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;
> }
>
Previous Topic:Tutorial for GEF
Next Topic:CTRL+<key> combination possible?
Goto Forum:
  


Current Time: Wed May 21 20:16:34 EDT 2025

Powered by FUDForum. Page generated in 0.04862 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top