Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » How to Build a "searchable" Combo?
How to Build a "searchable" Combo? [message #1703735] Tue, 04 August 2015 13:32
Al Bundy is currently offline Al BundyFriend
Messages: 27
Registered: November 2011
Junior Member
I have a combo with a lots of entries and would like to add a behavior something like the AutomCompleteField with a ComboContentAdapter.

The ComboContentAdapter seems to set the text only - at least the new selection is not set.

Currently I'm using a ComboViewer with an ArrayContentProvider and my own Labelprovider.

If I use a AutoSelectField the typical "proposal-popup" is opened - this allows the user also to input any value and commit it with enter.

I want a combo where I can type (removing the SWT.READ_ONLY-Flag) and the content ist filtered, so that the user can only select valid values.

Has anybody an idea how to implement this?

Previous Topic:how to convert eclipse plug-in project to java project
Next Topic:Find Tree Node
Goto Forum:

Current Time: Sat Apr 10 20:06:54 GMT 2021

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

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

Back to the top