Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 348265 - [client] Content assist should not know about serviceregistry
Summary: [client] Content assist should not know about serviceregistry
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Editor (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 0.3 M2   Edit
Assignee: Mark Macdonald CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-03 15:14 EDT by Mark Macdonald CLA
Modified: 2011-08-24 10:39 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Macdonald CLA 2011-06-03 15:14:25 EDT
At the moment ContentAssist will accept an optional serviceregistry parameter. If this is provided, it is used to obtain the content assist proposals based on the file type. If the parameter is omitted, you can add proposal providers directly through API (as in the embeddededitor example).

Knowledge of the registry should be removed from ContentAssist. In the Orion case (where we do need to consult the serviceregistry to find the content assist providers) that should be done by the glue code.