return reconciler;
}
public IContentAssistant getContentAssistant(ISourceViewer sourceViewer) {
// Create content assistant
ContentAssistant assistant = new ContentAssistant();
// required to display additional info
assistant.setInformationControlCreator(new IInformationControlCreator() {
public IInformationControl createInformationControl(Shell parent) {
return new DefaultInformationControl(parent);
}
});
_processor = new IvyContentAssistProcessor();
_processor.setFile(_file);
// Set this processor for each supported content type
assistant.setContentAssistProcessor(_processor, XMLPartitionScanner.XML_TAG);
assistant.setContentAssistProcessor(_processor, XMLPartitionScanner.XML_DEFAULT);
assistant.setContentAssistProcessor(_processor, IDocument.DEFAULT_CONTENT_TYPE);
// Return the content assistant
return assistant;
}