ContentAssistPreference.configure(assistant, getCombinedPreferenceStore());
ContentAssistPreference.configure(assistant, fPreferenceStore);
	public IContentAssistant getContentAssistant(ISourceViewer sourceViewer) {				if (getEditor() != null) {					ContentAssistant assistant= new ContentAssistant();			assistant.setDocumentPartitioning(getConfiguredDocumentPartitioning(sourceViewer));						assistant.setRestoreCompletionProposalSize(getSettings("completion_proposal_size")); //$NON-NLS-1$						IContentAssistProcessor javaProcessor= new JavaCompletionProcessor(getEditor());			assistant.setContentAssistProcessor(javaProcessor, IDocument.DEFAULT_CONTENT_TYPE);						// Register the java processor for single line comments to get the NLS template working inside comments			IContentAssistProcessor wordProcessor= new WordCompletionProcessor();			CompoundContentAssistProcessor compoundProcessor= new CompoundContentAssistProcessor();			compoundProcessor.add(javaProcessor);			compoundProcessor.add(wordProcessor);						assistant.setContentAssistProcessor(compoundProcessor, IJavaPartitions.JAVA_SINGLE_LINE_COMMENT);						assistant.setContentAssistProcessor(wordProcessor, IJavaPartitions.JAVA_STRING);			assistant.setContentAssistProcessor(wordProcessor, IJavaPartitions.JAVA_MULTI_LINE_COMMENT);			assistant.setContentAssistProcessor(new JavaDocCompletionProcessor(getEditor()), IJavaPartitions.JAVA_DOC);						ContentAssistPreference.configure(assistant, getCombinedPreferenceStore());						assistant.setContextInformationPopupOrientation(IContentAssistant.CONTEXT_INFO_ABOVE);			assistant.setInformationControlCreator(getInformationControlCreator(sourceViewer));								return assistant;		}				return null;	}