Skip to main content



      Home
Home » Eclipse Projects » GEF » Move EditParts with Cursors
Move EditParts with Cursors [message #167949] Sat, 12 February 2005 11:52 Go to next message
Eclipse UserFriend
Originally posted by: giannopoulos.ced.tuc.gr

Hi,

I would like when I select a figure on my editor area to be able to move it
by using cursor arrows. (for example when pressing left arrow the figure
will move 1 pixel left). Is this possible to be done and if it is can u
suggest me how to implement this?

Thnx in advance
Re: Move EditParts with Cursors [message #167960 is a reply to message #167949] Sat, 12 February 2005 15:17 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

1.) select the GEF element with the mouse cursor.
2.) Press the . (dot) Key (once, twice,...)
3.) Move the Element with the cursor
Resize the element with the cursor
.
.
.
(this depends in relation with the cursor symbol)
4.) Press enter to commit the changes

Thats all

greetings

Andreas


P.S. greetings to the GEF-Team...thanks for the
greate framework.


Nikos Giannopoulos wrote:
> Hi,
>
> I would like when I select a figure on my editor area to be able to move it
> by using cursor arrows. (for example when pressing left arrow the figure
> will move 1 pixel left). Is this possible to be done and if it is can u
> suggest me how to implement this?
>
> Thnx in advance
>
>
Re: Move EditParts with Cursors [message #168147 is a reply to message #167949] Mon, 14 February 2005 00:33 Go to previous message
Eclipse UserFriend
Originally posted by: huangjun.cs.umb.edu

Sure you can do it.
Have a look at KeyHandler usage in GEF example. With KeyHandler, you can
associate some key with some action and in this action invoke some command
to do moving job.

Best,
Jun

"Nikos Giannopoulos" <giannopoulos@ced.tuc.gr> wrote in message
news:culc80$aoc$1@www.eclipse.org...
> Hi,
>
> I would like when I select a figure on my editor area to be able to move
it
> by using cursor arrows. (for example when pressing left arrow the figure
> will move 1 pixel left). Is this possible to be done and if it is can u
> suggest me how to implement this?
>
> Thnx in advance
>
>
Previous Topic:Automatic Layouts
Next Topic:Is it possible create Microsoft office like Palette?
Goto Forum:
  


Current Time: Thu Jun 19 03:29:45 EDT 2025

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

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

Back to the top