assistant.setContentAssistProcessor(fProcessor, JavaPartitionScanner.JAVA_STRING); assistant.setContentAssistProcessor(fProcessor, JavaPartitionScanner.JAVA_SINGLE_LINE_COMMENT);  assistant.setContentAssistProcessor(fProcessor, JavaPartitionScanner.JAVA_DOC);
		public IContentAssistant getContentAssistant(ISourceViewer sourceViewer) {			IPreferenceStore store= JavaPlugin.getDefault().getPreferenceStore();			ContentAssistant assistant= new ContentAssistant();			assistant.setContentAssistProcessor(fProcessor, IDocument.DEFAULT_CONTENT_TYPE);			assistant.enableAutoInsert(store.getBoolean(ContentAssistPreference.AUTOINSERT));			assistant.enableAutoActivation(store.getBoolean(ContentAssistPreference.AUTOACTIVATION));			assistant.setAutoActivationDelay(store.getInt(ContentAssistPreference.AUTOACTIVATION_DELAY));			assistant.setProposalPopupOrientation(assistant.PROPOSAL_OVERLAY);			assistant.setContextInformationPopupOrientation(assistant.CONTEXT_INFO_ABOVE);			assistant.setInformationControlCreator(getInformationControlCreator(sourceViewer));			Display display= sourceViewer.getTextWidget().getDisplay();						Color background= createColor(store, ContentAssistPreference.PROPOSALS_BACKGROUND, display);						assistant.setContextInformationPopupBackground(background);			assistant.setContextSelectorBackground(background);			assistant.setProposalSelectorBackground(background);			Color foreground= createColor(store, ContentAssistPreference.PROPOSALS_FOREGROUND, display);			assistant.setContextInformationPopupForeground(foreground);			assistant.setContextSelectorForeground(foreground);			assistant.setProposalSelectorForeground(foreground);						return assistant;		}	