Skip to main content



      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 10:00 Go to next message
Eclipse UserFriend
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 04:59 Go to previous messageGo to next message
Eclipse UserFriend
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 08:51 Go to previous message
Eclipse UserFriend
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 08:51 Go to previous message
Eclipse UserFriend
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 Jul 01 10:54:30 EDT 2025

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

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

Back to the top