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

Bug 390825

Summary: Search: make the search completion data provider plug-able.
Product: [ECD] Orion Reporter: libing wang <libingw>
Component: ClientAssignee: libing wang <libingw>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: mamacdon
Version: 0.5   
Target Milestone: 1.0 RC1   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description libing wang CLA 2012-10-01 10:03:40 EDT
Currently, there is a common class called "orion.inputCompletion" consumed by global search.
It requires the caller to provide the full set of proposals.
The default implementation of the provider is just getting user's preference on recent search and saved search. It is hard coded on the caller side now, where the globalCommands.js initializes the search field.

In a long run, we want this provider to be plug-able so that user can alternate from recent search to something else that makes more sense to them. E.g. a set of 500 hundred frequently used key words.
Comment 1 libing wang CLA 2012-10-01 10:05:01 EDT
As the default implementation is reading user pref now, it is hard to convert the provider as a plugin. It is a post 1.0 stuff.
Comment 2 libing wang CLA 2012-10-04 16:44:08 EDT
The extensibility is pushed in and I pushed two sample plugin as well.