/* (non-Javadoc) * @see org.eclipse.jface.text.contentassist.IContentAssistant#install(org.eclipse.jface.text.ITextViewer) */ public void install(ISourceViewer sourceViewer) { super.install(sourceViewer); fViewer = sourceViewer; fLightBulbUpdater = new QuickAssistLightBulbUpdater(fEditor, sourceViewer); fLightBulbUpdater.install(); }
/* (non-Javadoc) * @see org.eclipse.jface.text.contentassist.ContentAssistant#uninstall() */ public void uninstall() { if (fLightBulbUpdater != null) { fLightBulbUpdater.uninstall(); fLightBulbUpdater = null; } super.uninstall(); }
/* * @see org.eclipse.jface.text.contentassist.ContentAssistant#possibleCompletionsClosed() */ protected void possibleCompletionsClosed() { super.possibleCompletionsClosed(); restorePosition(); }