Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Problem AutoCompletion with ContentProposalAdapter to select ems of popup with key up arrow
Problem AutoCompletion with ContentProposalAdapter to select ems of popup with key up arrow [message #760494] Fri, 02 December 2011 15:00 Go to next message
Angelo ZERR is currently offline Angelo ZERRFriend
Messages: 122
Registered: July 2009
Senior Member
Hi,

I have implemented autocmpletion by using ContentProposalAdapter. When I type some characters, my popup opens, but I cannot select the item by using Key ARROW UP. With RCP it works but not with RAP. I have debugged the ContentProposalAdapter and it seems that Key Arrow UP is never fired from the client side.

I suppose that it's a filter used to improve performance, but in my case I would like navigate accrosse items of the popup of the automplete.

Do you know how to fix this problem?

Thank a lot for your help.

Regards Angelo
Re: Problem AutoCompletion with ContentProposalAdapter to select ems of popup with key up arrow [message #760793 is a reply to message #760494] Mon, 05 December 2011 09:59 Go to previous messageGo to next message
Francis Delsinnes is currently offline Francis DelsinnesFriend
Messages: 49
Registered: November 2011
Member
I've tested it... Same problem.

In a TableViewer with
- ArrayContentProvider
- TableViewerColumn ColumnLabelProvider, EditingSupport

In a Custom Text Cell Editor (extending TextCellEditor):
  /*
   * (non-Javadoc)
   * @see org.eclipse.jface.viewers.TextCellEditor#createControl(org.eclipse.swt.widgets.Composite)
   */
  @Override protected Control createControl(Composite parent) {

    final Text text = (Text)super.createControl(parent);

    new ContentProposalAdapter(text,
                               new TextContentAdapter(),
                               new SimpleContentProposalProvider(new String[] {
          "1",
          "2",
          "3"
        }),
                               null,
                               null);

    return text;

  }
Re: Problem AutoCompletion with ContentProposalAdapter to select ems of popup with key up arrow [message #760872 is a reply to message #760793] Mon, 05 December 2011 13:51 Go to previous message
Angelo ZERR is currently offline Angelo ZERRFriend
Messages: 122
Registered: July 2009
Senior Member
Hi,

I have created bug 365588 for this problem.

@FRancis: thank a lot to have tested with another context.

Regards Angelo
Re: Problem AutoCompletion with ContentProposalAdapter to select ems of popup with key up arrow [message #760874 is a reply to message #760793] Mon, 05 December 2011 13:51 Go to previous message
Angelo is currently offline AngeloFriend
Messages: 27
Registered: July 2009
Junior Member
Hi,

I have created https://bugs.eclipse.org/bugs/show_bug.cgi?id=365588 for this problem.

@FRancis: thank a lot to have tested with another context.

Regards Angelo
Previous Topic:Combining RWT with the Eclipse Workbench
Next Topic:Creating a vertical Label
Goto Forum:
  


Current Time: Tue Oct 26 16:38:27 GMT 2021

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

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

Back to the top