public IContentAssistant getContentAssistant(
ISourceViewer sourceViewer) {
ContentAssistant assistant = new ContentAssistant();
assistant.enableAutoActivation(true);
assistant.enableAutoInsert(true);
assistant.setContentAssistProcessor(getTemplateProcessor(),
IDocument.DEFAULT_CONTENT_TYPE);
assistant.setProposalSelectorBackground(Display
.getCurrent().getSystemColor(
SWT.COLOR_INFO_BACKGROUND));