gamerson/eclipse-wtp-xml-search — pull request #4 by kuozhang (2014-08-20 08:03:04+00:00)
Title: split-editor-plugin

The editor plugin is split into two plugins editor.core and editor.ui

the most significant changes are the searcherId and addtionalProposalInfoProvider

the IXMLSearcher is split into two: IXMLValidationSearcher(in core plugin) and IXMLAssistSearcher(in ui plugin)

IXMLSearcher had four methods, now they are divided,

searchForValidation in IXMLValidationSearcher
searchForCompletion & searchForHyperlink & searchForTextHover in IXMLAssistSearcher

the old way to get xml-searhcer is IXMLReferenceTo.getSearcher(),
the new way is to use XMLValidationSearcherBindingsManager.getDefault().getSearcher(IXMLReferenceTo or IXMLReference(only IXMLReferenceToExpression))
or XMLAssistSearcherBindingsManager.getDefault().getDefault().getSearcher(IXMLReferenceTo or IXMLReference(only IXMLReferenceToExpression))

you need to rewrite some of your extensions, remove the searcher from extension-point searcher, and use there extension points: reference or referenceTo, searcher(validationSearcher or assistSearcher ) and binding:

the same with XMLAssistSearcher

There is another extension-point called content-assists, it may be a little confused with the assist-searchers

content-assists is used as following:

also, th xml reference is defined in core plugin, additionProposalInfoProvider need to be in ui plugin.
just like the assistSearcher, you can reference-to with a provider via an extension-point assistAssistBindings: