/** * Unregisters a content assist listener. * * @param listener the listener to unregister * @param type the type of listener * * @see #addContentAssistListener */ void removeContentAssistListener(IContentAssistListener2 listener, int type) { fListeners[type]= null; if (getNumberOfListeners() == 0) { if (fCloser != null) { fCloser.uninstall(); fCloser= null; } uninstallKeyListener(); fViewer.setEventConsumer(null); } releaseWidgetToken(type); }
/** * Unregisters a content assist listener. * * @param listener the listener to unregister * @param type the type of listener * * @see #addContentAssistListener */ void removeContentAssistListener(IContentAssistListener2 listener, int type) { fListeners[type]= null; if (getNumberOfListeners() == 0) { if (fCloser != null) { fCloser.uninstall(); fCloser= null; } uninstallKeyListener(); fViewer.setEventConsumer(null); } releaseWidgetToken(type); }
@Override public void uninstall() { if (fProposalPopup != null) fProposalPopup.hide(); if (fContextInfoPopup != null) fContextInfoPopup.hide(); manageAutoActivation(false); if (fCloser != null) { fCloser.uninstall(); fCloser= null; } fViewer= null; }
@Override public void uninstall() { if (fProposalPopup != null) fProposalPopup.hide(); if (fContextInfoPopup != null) fContextInfoPopup.hide(); manageAutoActivation(false); if (fCloser != null) { fCloser.uninstall(); fCloser= null; } fViewer= null; }