Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

RAP/Incubator/DropDown

< RAP
Revision as of 10:04, 22 July 2013 by Unnamed Poltroon (Talk) (New page: The DropDown incubator project aims to provide a simple and efficient text input assist for RAP, also known as "type ahead", "auto suggest", "auto complete" or "field assist" in various fr...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The DropDown incubator project aims to provide a simple and efficient text input assist for RAP, also known as "type ahead", "auto suggest", "auto complete" or "field assist" in various frameworks. The current git master contains the RAP 2.1 compatible version. Nightly builds are available here.

The DropDown Widget

The org.eclipse.rap.addons.dropdown.DropDown widget can be found in the org.eclipse.rap.addons.dropdown bundle and is basically a free-floating List (including setItems and Selection event support) that can be attached to Text widget. When made visible (DropDown.show()), the DropDown will be placed below the text widget. It will hide again automatically if the parent (Text) looses focus, ESC is pressed or an item in the DropDown is clicked. While it is visible and the parent is focused the selection can be changed using the "Up" and "Down" keys. This is the full extend of its functionality.

AutoSuggest

Work in progress. The AutoSuggest component aims to provide a complete solution for text input assistance. It will wrap the DropDown widget and require only the Text widget and a data source to work properly.

Back to the top