Moving editparts through keyboard [message #78014] |
Tue, 06 May 2003 11:40  |
Eclipse User |
|
|
|
Hi,
what would be the easiest way to create functionality that enables
user to move editparts through keyboard? That is, when editpart is
selected and user presses up-arrow, the selected editpart moves
up by one pixel. Should I map the keystroke to certain action by using
KeyHandler.put(), or is there an easier way to implement this?
- Sami
|
|
|
|
Re: Moving editparts through keyboard [message #78107 is a reply to message #78077] |
Tue, 06 May 2003 15:36  |
Eclipse User |
|
|
|
Ah, but this was exactly what I was looking for. Man, it is nice
to program Eclipse / GEF when co-workers think that I'm some
sort of wizard when I can create new functionality to my editors instantly
:-)
- Sami
"Randy Hudson" <none@us.ibm.com> wrote in message
news:b99244$obe$1@rogue.oti.com...
> This functionality already exists and you avoid being different unless
there
> is a strong reason.
>
> Press the period key once to navigate to the MOVE handle. Then use the
> Arrow Keys, followed by ENTER to commit the move
>
> "Sami Lakka" <sami.lakka@tut.fi> wrote in message
> news:b98kuk$dmf$1@rogue.oti.com...
> > Hi,
> >
> > what would be the easiest way to create functionality that enables
> > user to move editparts through keyboard? That is, when editpart is
> > selected and user presses up-arrow, the selected editpart moves
> > up by one pixel. Should I map the keystroke to certain action by using
> > KeyHandler.put(), or is there an easier way to implement this?
> >
> > - Sami
> >
> >
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.26960 seconds