| Summary: | Need way for completionProposal extensions to supply autoactivation character preferences | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP Source Editing | Reporter: | Ian Tewksbury <itewksbu> | ||||||
| Component: | wst.sse | Assignee: | Nick Sandonato <nsand.dev> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | Nitin Dahyabhai <thatnitind> | ||||||
| Severity: | enhancement | ||||||||
| Priority: | P3 | CC: | nsand.dev | ||||||
| Version: | 3.2.3 | Flags: | thatnitind:
review+
|
||||||
| Target Milestone: | 3.2.3 | ||||||||
| Hardware: | PC | ||||||||
| OS: | All | ||||||||
| Whiteboard: | WI58566 | ||||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 329050 | ||||||||
| Attachments: |
|
||||||||
|
Description
Ian Tewksbury
Created attachment 181990 [details]
patch
Created attachment 181991 [details]
updated patch
With this patch, an implementer of the proposalComputer will have to set an autoActivationDelegate to be associated with the content type and partition type. This should ultimately allow us to deprecate the specific implementations of StructuredContentAssistProcessor that we have lying around, as they mostly just set up listeners for changes in the auto-activation preferences and return the appropriate auto-activation characters. The auto-activation delegate will likely add itself as a property listener to a preference store and update the array of characters to return for auto-activation. The dispose() method is invoked when the StructuredContentAssistProcessor is released. Code checked in. Thanks, Nitin. |