Escape to go to default tool [message #104650] |
Wed, 12 November 2003 10:30  |
Eclipse User |
|
|
|
Hello,
When you select a tool from the palette, there is no way to go back to the
default tool (selection tool) unless explicitly selecting it. Should there
be support for the Esc key in tools to go back to the default tool?
Maged
|
|
|
|
|
Re: Escape to go to default tool [message #104701 is a reply to message #104692] |
Wed, 12 November 2003 12:53   |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
You could map a key->action in the palette's keyhandler.
Or, create a ResetToolAction and add it to the keybinding service, so that
ESC is received regardless of focus. But, this would interfere with
celleditors, which need to receive ESC
"Maged Elaasar" <melaasar@ca.ibm.com> wrote in message
news:botrep$qpk$1@eclipse.org...
> Can't it be supported also if the palette viewer has a focus, since the
> normal use case would be to select a tool, hover on the graphical viewer
and
> then pressing Esc to cancel. Currently, the user has to use the "tab" key
to
> give focus first to the graphical viewer before Esc works. What do you
> think?
>
>
> "Randy Hudson" <none@us.ibm.com> wrote in message
> news:botqp3$pub$1@eclipse.org...
> > Escape works for me, provided that the graphical viewer has keyboard
> focus.
> >
> > "Maged Elaasar" <melaasar@ca.ibm.com> wrote in message
> > news:botjjq$ghb$1@eclipse.org...
> > > Hello,
> > >
> > > When you select a tool from the palette, there is no way to go back to
> the
> > > default tool (selection tool) unless explicitly selecting it. Should
> there
> > > be support for the Esc key in tools to go back to the default tool?
> > >
> > > Maged
> > >
> > >
> >
> >
>
>
|
|
|
Re: Escape to go to default tool [message #104723 is a reply to message #104701] |
Wed, 12 November 2003 14:47   |
Eclipse User |
|
|
|
The first solution seems more reasonable (i.e: let the palette key handler
do it).
Shouldn't that be done in the default PaletteKeyHandler in GEF?
"Randy Hudson" <none@us.ibm.com> wrote in message
news:botrvv$rgp$1@eclipse.org...
> You could map a key->action in the palette's keyhandler.
> Or, create a ResetToolAction and add it to the keybinding service, so that
> ESC is received regardless of focus. But, this would interfere with
> celleditors, which need to receive ESC
> "Maged Elaasar" <melaasar@ca.ibm.com> wrote in message
> news:botrep$qpk$1@eclipse.org...
> > Can't it be supported also if the palette viewer has a focus, since the
> > normal use case would be to select a tool, hover on the graphical viewer
> and
> > then pressing Esc to cancel. Currently, the user has to use the "tab"
key
> to
> > give focus first to the graphical viewer before Esc works. What do you
> > think?
> >
> >
> > "Randy Hudson" <none@us.ibm.com> wrote in message
> > news:botqp3$pub$1@eclipse.org...
> > > Escape works for me, provided that the graphical viewer has keyboard
> > focus.
> > >
> > > "Maged Elaasar" <melaasar@ca.ibm.com> wrote in message
> > > news:botjjq$ghb$1@eclipse.org...
> > > > Hello,
> > > >
> > > > When you select a tool from the palette, there is no way to go back
to
> > the
> > > > default tool (selection tool) unless explicitly selecting it. Should
> > there
> > > > be support for the Esc key in tools to go back to the default tool?
> > > >
> > > > Maged
> > > >
> > > >
> > >
> > >
> >
> >
>
>
|
|
|
Re: Escape to go to default tool [message #104733 is a reply to message #104723] |
Wed, 12 November 2003 16:58  |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
Sure, why not? Open a bugzilla. For 2.1.x you'll have to add it yourself.
"Maged Elaasar" <melaasar@ca.ibm.com> wrote in message
news:bou2lm$3jp$1@eclipse.org...
> The first solution seems more reasonable (i.e: let the palette key handler
> do it).
> Shouldn't that be done in the default PaletteKeyHandler in GEF?
>
>
> "Randy Hudson" <none@us.ibm.com> wrote in message
> news:botrvv$rgp$1@eclipse.org...
> > You could map a key->action in the palette's keyhandler.
> > Or, create a ResetToolAction and add it to the keybinding service, so
that
> > ESC is received regardless of focus. But, this would interfere with
> > celleditors, which need to receive ESC
> > "Maged Elaasar" <melaasar@ca.ibm.com> wrote in message
> > news:botrep$qpk$1@eclipse.org...
> > > Can't it be supported also if the palette viewer has a focus, since
the
> > > normal use case would be to select a tool, hover on the graphical
viewer
> > and
> > > then pressing Esc to cancel. Currently, the user has to use the "tab"
> key
> > to
> > > give focus first to the graphical viewer before Esc works. What do you
> > > think?
> > >
> > >
> > > "Randy Hudson" <none@us.ibm.com> wrote in message
> > > news:botqp3$pub$1@eclipse.org...
> > > > Escape works for me, provided that the graphical viewer has keyboard
> > > focus.
> > > >
> > > > "Maged Elaasar" <melaasar@ca.ibm.com> wrote in message
> > > > news:botjjq$ghb$1@eclipse.org...
> > > > > Hello,
> > > > >
> > > > > When you select a tool from the palette, there is no way to go
back
> to
> > > the
> > > > > default tool (selection tool) unless explicitly selecting it.
Should
> > > there
> > > > > be support for the Esc key in tools to go back to the default
tool?
> > > > >
> > > > > Maged
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.09393 seconds