protected void setContentAssistProcessor(ContentAssistant assistant, SourceViewerConfiguration configuration, ISourceViewer sourceViewer) { if (contentAssistProcessor != null) { for(String contentType: configuration.getConfiguredContentTypes(sourceViewer)) { assistant.setContentAssistProcessor(contentAssistProcessor, contentType); } if (contentAssistProcessor instanceof ICompletionListener) { assistant.setRepeatedInvocationMode(true); assistant.setStatusLineVisible(true); assistant.addCompletionListener((ICompletionListener) contentAssistProcessor); } } }
public ICompletionListener getCompletionListener() { return this; }
public ICompletionListener getCompletionListener() { return completionListener; }