|
Re: Jump into first cell of Table [message #4498 is a reply to message #4429] |
Wed, 13 May 2009 09:40 |
|
Oh iŽm sorry, next time i will use the jface newsgroup.
I already used editElement() but the problem is that when i click with my
mouse on a special cell, this cell should be edit, not the first one. If i
enter the table in another way (i.e. press TAB) then the first cell should
be editet.
So i had the idea that i implement a check in the focusGained method if
the focus was gained by mouse or by Tab, but i couldnt find anything in my
event class which could help me :-(
Thomas
|
|
|
|
Re: Jump into first cell of Table [message #4846 is a reply to message #4568] |
Thu, 14 May 2009 06:53 |
|
hey,
well i also came to this point, so i thought about other strategies or
events. I thought about using the traverse listener but i cant use it
since its only active when iŽm already in the table, i will experiment
with some other listeners. Anyway thanks for your help, if you get an idea
just tell me ;-)
Greetz,
Thomas
Tom Schindl wrote:
> I don't think that focus gained is a good strategy because you receive
> this event when ever an editor is open and closed.
> I'm not sure either how to implement this feature without experimenting
> with the various events.
> Tom
> T. Wilhelm schrieb:
>> Oh iŽm sorry, next time i will use the jface newsgroup.
>> I already used editElement() but the problem is that when i click with
>> my mouse on a special cell, this cell should be edit, not the first one.
>> If i enter the table in another way (i.e. press TAB) then the first cell
>> should be editet.
>> So i had the idea that i implement a check in the focusGained method if
>> the focus was gained by mouse or by Tab, but i couldnt find anything in
>> my event class which could help me :-(
>>
>> Thomas
>>
|
|
|
Powered by
FUDForum. Page generated in 0.03461 seconds