ContentAssistPreference.configure(assistant, getPreferenceStore());
ContentAssistPreference.configure(assistant, getNewPreferenceStore());
	public IContentAssistant getContentAssistant(ISourceViewer sourceViewer) {				if (getEditor() != null) {					ContentAssistant assistant= new ContentAssistant();			assistant.setDocumentPartitioning(getConfiguredDocumentPartitioning(sourceViewer));						IContentAssistProcessor processor= new JavaCompletionProcessor(getEditor());			assistant.setContentAssistProcessor(processor, IDocument.DEFAULT_CONTENT_TYPE);				// Register the same processor for strings and single line comments to get code completion at the start of those partitions.			assistant.setContentAssistProcessor(processor, IJavaPartitions.JAVA_STRING);			assistant.setContentAssistProcessor(processor, IJavaPartitions.JAVA_SINGLE_LINE_COMMENT);						processor= new WordCompletionProcessor();			assistant.setContentAssistProcessor(processor, IJavaPartitions.JAVA_MULTI_LINE_COMMENT);			assistant.setContentAssistProcessor(processor, IJavaPartitions.JAVA_SINGLE_LINE_COMMENT);			assistant.setContentAssistProcessor(processor, IJavaPartitions.JAVA_STRING);			assistant.setContentAssistProcessor(new JavaDocCompletionProcessor(getEditor()), IJavaPartitions.JAVA_DOC);						ContentAssistPreference.configure(assistant, getPreferenceStore());						assistant.setContextInformationPopupOrientation(ContentAssistant.CONTEXT_INFO_ABOVE);			assistant.setInformationControlCreator(getInformationControlCreator(sourceViewer));								return assistant;		}				return null;	}