/** * Adds a completion listener that will be informed before proposals are * computed. * * @param listener the listener * @throws IllegalStateException if called when the content assistant is * uninstalled */ public void addCompletionListener(ICompletionListener listener) { if (fContentAssistant == null) throw new IllegalStateException(); ((IContentAssistantExtension2)fContentAssistant).addCompletionListener(listener); }
/** * Adds a completion listener that will be informed before proposals are * computed. * * @param listener the listener * @throws IllegalStateException if called when the content assistant is * uninstalled */ public void addCompletionListener(ICompletionListener listener) { if (fContentAssistant == null) throw new IllegalStateException(); ((IContentAssistantExtension2)fContentAssistant).addCompletionListener(listener); }