Skip to main content



      Home
Home » Eclipse Projects » GEF » Bug check + RCP key handler
Bug check + RCP key handler [message #123359] Sun, 21 March 2004 11:23 Go to next message
Eclipse UserFriend
I'm using the latest integration release of GEF. When I launch my
application independent of the org.eclipse.ide, the keyhandler seems to
work okay (i.e. CTRL + Z) generates an undo event. However, when my
application is launched using an RCP configuration key events are ignored.
Is this a bug? Is there a a fix independent of introducing
org.eclipse.ide?

Thanks.

James
Re: Bug check + RCP key handler [message #123372 is a reply to message #123359] Sun, 21 March 2004 11:37 Go to previous messageGo to next message
Eclipse UserFriend
James Willans wrote:

> I'm using the latest integration release of GEF. When I launch my
> application independent of the org.eclipse.ide, the keyhandler seems to

I should have said here "When I launch my application using
org.eclipse.ide".

> work okay (i.e. CTRL + Z) generates an undo event. However, when my
> application is launched using an RCP configuration key events are ignored.
> Is this a bug? Is there a a fix independent of introducing
> org.eclipse.ide?

> Thanks.

> James
Re: Bug check + RCP key handler [message #123397 is a reply to message #123372] Sun, 21 March 2004 17:49 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

The IDE declares a global UNDO action. Without this action, registering an
action handler will not do anything.
You need to put an Undo action on the Menubar yourself in RCP.

"James Willans" <jwillans@cs.york.ac.uk> wrote in message
news:c3kgbl$909$1@eclipse.org...
> James Willans wrote:
>
> > I'm using the latest integration release of GEF. When I launch my
> > application independent of the org.eclipse.ide, the keyhandler seems to
>
> I should have said here "When I launch my application using
> org.eclipse.ide".
>
> > work okay (i.e. CTRL + Z) generates an undo event. However, when my
> > application is launched using an RCP configuration key events are
ignored.
> > Is this a bug? Is there a a fix independent of introducing
> > org.eclipse.ide?
>
> > Thanks.
>
> > James
>
>
Re: Bug check + RCP key handler [message #123421 is a reply to message #123397] Sun, 21 March 2004 18:16 Go to previous messageGo to next message
Eclipse UserFriend
Randy Hudson wrote:

> The IDE declares a global UNDO action. Without this action, registering an
> action handler will not do anything.
> You need to put an Undo action on the Menubar yourself in RCP.

I already do this, I have added undo (and redo) to the menubar and the
coolbar in my RCP app, but I am unable to trigger it using CTRL+Z,
although this works fine when I include org.eclipse.ide.
Re: Bug check + RCP key handler [message #124504 is a reply to message #123421] Fri, 26 March 2004 10:27 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

And is there anywhere where you wrote the string "CTRL+Z"??
You need to use a keybinding to declare the command and its accelerator.
Then do what you are doing and make sure the aciton has the command's ID
set. Actions and Commands are a PITA, so go ask the experts on
eclipse.platform if you can't get it to work.

"James Willans" <jwillans@cs.york.ac.uk> wrote in message
news:c3l7p2$vcp$1@eclipse.org...
> Randy Hudson wrote:
>
> > The IDE declares a global UNDO action. Without this action, registering
an
> > action handler will not do anything.
> > You need to put an Undo action on the Menubar yourself in RCP.
>
> I already do this, I have added undo (and redo) to the menubar and the
> coolbar in my RCP app, but I am unable to trigger it using CTRL+Z,
> although this works fine when I include org.eclipse.ide.
>
>
Previous Topic:Absolute Position
Next Topic:CutRetargetAction missing
Goto Forum:
  


Current Time: Thu Jul 10 01:41:45 EDT 2025

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

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

Back to the top