Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Moving editparts through keyboard
Moving editparts through keyboard [message #78014] Tue, 06 May 2003 15:40 Go to next message
Sami Lakka is currently offline Sami LakkaFriend
Messages: 47
Registered: July 2009
Member
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 #78077 is a reply to message #78014] Tue, 06 May 2003 19:23 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.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
>
>
Re: Moving editparts through keyboard [message #78107 is a reply to message #78077] Tue, 06 May 2003 19:36 Go to previous message
Sami Lakka is currently offline Sami LakkaFriend
Messages: 47
Registered: July 2009
Member
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
> >
> >
>
>
Previous Topic:Properties Window using Layouts
Next Topic:My editor is unregisterd when I add draw2d to the project - very strange behavior
Goto Forum:
  


Current Time: Sun May 05 10:24:38 GMT 2024

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

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

Back to the top