Disable Arrow Keys [message #160481] |
Sun, 05 December 2004 12:19 |
Eclipse User |
|
|
|
Originally posted by: CH_FA.gmx.net
Hello together,
i've implemented a little GEF Editor which shows some type of figures. If
i use the Arrow keys, the Selection of the figures will be changed to
another Figure. Now i've implemented moveLeft, moveRight, moveUp and
moveDown Actions and put them with the Help of the KeyHandler to the Arrow
Keys (corresponding: moveUp -->Arrow_UP).
My Problem is that if a another figure is located in the way, which i will
move my Figure with the Arrow Keys, the Selection of the Figure will be
changed. How can i prevent this? So that only the Arrow Keys are
responsible to move my figures left, right and so on!
Thx
|
|
|
Re: Disable Arrow Keys [message #160547 is a reply to message #160481] |
Mon, 06 December 2004 16:54 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
Dragging via the keyboard is already implemented in GEF. First, your press
PERIOD key to select the move handle of the primary selection. Then you use
the arrow keys to drag the selected part(s).
In the default mode, it is recommended that arrow keys change selection, not
"nudge".
"Christian Farra" <CH_FA@gmx.net> wrote in message
news:couud9$fgf$1@www.eclipse.org...
> Hello together,
>
> i've implemented a little GEF Editor which shows some type of figures. If
> i use the Arrow keys, the Selection of the figures will be changed to
> another Figure. Now i've implemented moveLeft, moveRight, moveUp and
> moveDown Actions and put them with the Help of the KeyHandler to the Arrow
> Keys (corresponding: moveUp -->Arrow_UP).
> My Problem is that if a another figure is located in the way, which i will
> move my Figure with the Arrow Keys, the Selection of the Figure will be
> changed. How can i prevent this? So that only the Arrow Keys are
> responsible to move my figures left, right and so on!
>
>
> Thx
>
>
|
|
|
Re: Disable Arrow Keys [message #161164 is a reply to message #160547] |
Thu, 09 December 2004 23:29 |
Eclipse User |
|
|
|
Originally posted by: spam.boeckling.net
Hi,
that was exactly my problem, too. Now I see that this has been solved
already, great! But is there a way to change the PERIOD to CTRL, and
that this only acivates the MOVE tool and not the other handles?
Thanks in advance,
Michael Böckling
> Dragging via the keyboard is already implemented in GEF. First, your press
> PERIOD key to select the move handle of the primary selection. Then you use
> the arrow keys to drag the selected part(s).
>
> In the default mode, it is recommended that arrow keys change selection, not
> "nudge".
>
> "Christian Farra" <CH_FA@gmx.net> wrote in message
> news:couud9$fgf$1@www.eclipse.org...
>
>>Hello together,
>>
>>i've implemented a little GEF Editor which shows some type of figures. If
>>i use the Arrow keys, the Selection of the figures will be changed to
>>another Figure. Now i've implemented moveLeft, moveRight, moveUp and
>>moveDown Actions and put them with the Help of the KeyHandler to the Arrow
>>Keys (corresponding: moveUp -->Arrow_UP).
>>My Problem is that if a another figure is located in the way, which i will
>>move my Figure with the Arrow Keys, the Selection of the Figure will be
>>changed. How can i prevent this? So that only the Arrow Keys are
>>responsible to move my figures left, right and so on!
>>
>>
>>Thx
>>
>>
>
>
>
|
|
|
Re: Disable Arrow Keys [message #161424 is a reply to message #161164] |
Mon, 13 December 2004 16:33 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
> that was exactly my problem, too. Now I see that this has been solved
> already, great! But is there a way to change the PERIOD to CTRL, and
I'm sure you could hack it, but since CTRL is used for lots of other things,
including "maybe I'm going to press CTRL+letter, nope I changed my mind",
this would be a usability mistake.
> that this only acivates the MOVE tool and not the other handles?
See AccessibleHandleProvider, and how each handle gets added in. If your
parts are resizable, why would you want to cripple your application and not
allow these handles to be dragged via keyboard?
> Thanks in advance,
> Michael B
|
|
|
Powered by
FUDForum. Page generated in 0.03894 seconds