Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » Content proposal and tab navigation
Content proposal and tab navigation [message #626498] Wed, 22 September 2010 15:33 Go to next message
Marco Maccaferri is currently offline Marco MaccaferriFriend
Messages: 136
Registered: July 2009
Senior Member

I have a problem using a content proposal adapter associated to a combo
box related to the tab traversal. Here is the situation: I have a table
viewer with cell editors, one of them is a combo cell editor with a
content proposal adapter associated to it. Each editor have traverse
listeners so the user can navigate through cell editors using TAB. It
works well except for the content selected from the content proposal pop-up.

When the user activates the combo editor, starts to type some letters
and the content proposal pops-up. The user then selects a proposal, it
is written in the combo box text field, then he TABs to the next editor,
at this point the combo cell displays the old value. To make the combo
editor to accept the selection the user needs to hit the ENTER key, but
this also deactivates the editor so he can't navigate to the next cell.

Digging throught the code with the debugger, it seems that somwhere an
event is triggered and the combo editor is deactivated without accepting
the new value. This seems an effect of the cell traverse listeners I'm
adding to the editor, because if I remove that, the tab works and accept
the selected value.

Is there someone who has encountered this problem before ? How can I
resolve that ? I need the tab traversal listners, I can't remove them.

Thanks for any help.

Re: Content proposal and tab navigation [message #720963 is a reply to message #626498] Wed, 31 August 2011 15:05 Go to previous message
Sharon Snyder is currently offline Sharon SnyderFriend
Messages: 56
Registered: September 2010

I know this question is old, but did you ever find a solution? I am running into a situation with the ContentProposalAdapter popup taking control and never giving it back.

Please let me know if you solved it and how.

Previous Topic:[Databinding] - Custom Widgets
Next Topic:Adding multiple instances of a same view programmaticaly and with different params
Goto Forum:

Current Time: Sun May 20 10:14:35 GMT 2018

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

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

Back to the top