Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 45096

Summary: [plan item] Generalize content assist to be available on elements other than the ITextViewer
Product: [Eclipse Project] Platform Reporter: Kai-Uwe Maetzel <kai-uwe_maetzel>
Component: TextAssignee: Dani Megert <daniel_megert>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0   
Target Milestone: 3.0 M9   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 31731, 46662, 58333    
Bug Blocks: 44280    

Description Kai-Uwe Maetzel CLA 2003-10-17 09:47:18 EDT
Content assist is available on text viewers and also in the find/replace 
dialog. The latter approach should be generalized to be available for clients.
Comment 1 Dani Megert CLA 2003-11-13 12:10:17 EST
Not for M5. Will concentrate on performance problems and bug fixing.
Comment 2 Kai-Uwe Maetzel CLA 2003-11-24 06:19:19 EST
Setting mile stone target to M7.
Comment 3 Dani Megert CLA 2004-01-08 06:09:31 EST
*** Bug 44281 has been marked as a duplicate of this bug. ***
Comment 4 Dani Megert CLA 2004-01-22 05:16:55 EST
Most of this work is done. We still need to
- decide if we want to copy the code into a new package and if so find a good
name replaceing ContentAssistant
- find a place to offer (or install) the key listener based on the key binding
service (see bug 46662), otherwise this code has to be duplicated by everybody
- allow to enable and disable the cue for already created widget
Comment 5 Douglas Pollock CLA 2004-01-22 08:30:40 EST
I'm not sure what you're looking for here.  Could you give more details?

As it is right now, you can register additional handlers for a given command
(e.g., content assist), and the key binding service will dispatch to which ever
handler is currently active.  A handler is active if the part with which it is
associated is active.
Comment 6 Dani Megert CLA 2004-01-22 09:57:37 EST
Doug, we started to offer content assist for dialogs and wizards. There want to
hook into the key binding service and be informed when a command gets executed.
Are you saying that this is now possible.
Comment 7 Dani Megert CLA 2004-02-09 11:15:13 EST
A good name could be InputAssistant.

Moving to 3.0 M8 for the remaining items since the blocking bugs are targeted
for 3.0 M8.
Comment 8 Dani Megert CLA 2004-03-23 10:48:34 EST
Decided to keep existing code structure i.e. not adding new content assist
packages for now.

Remaining issue (key binding) depends on bug 44280.

Comment 9 Dani Megert CLA 2004-03-30 03:14:01 EST
Finalized content assistant (cleaned Javadoc).

Remaining issues to cleanup:
- key binding support
- SmartCue: currently it also supports to show error icon - this doesn't belong
    to the content assist and should be moved out. To be done by André and Markus
- add it to search dialog (see bug 44280)
Comment 10 Dani Megert CLA 2004-04-22 10:49:47 EDT
- moved code for control content asssit to org.eclipse.jface.contentassist
- remaining issues related to cue have been resolved
- image request has been filed (see bug 59583)
- search now owns bug 44280