Java 类org.eclipse.jface.text.ITextViewerExtension4 实例源码

项目:Eclipse-Postfix-Code-Completion    文件:AbstractJavaCompletionProposal.java   
public void unselected(ITextViewer viewer) {
    if (fTextPresentationListener != null) {
        ((ITextViewerExtension4)viewer).removeTextPresentationListener(fTextPresentationListener);
        fTextPresentationListener= null;
    }
    repairPresentation(viewer);
    fRememberedStyleRange= null;
}
项目:Eclipse-Postfix-Code-Completion-Juno38    文件:AbstractJavaCompletionProposal.java   
public void unselected(ITextViewer viewer) {
    if (fTextPresentationListener != null) {
        ((ITextViewerExtension4)viewer).removeTextPresentationListener(fTextPresentationListener);
        fTextPresentationListener= null;
    }
    repairPresentation(viewer);
    fRememberedStyleRange= null;
}
项目:Pydev    文件:PyCompletionPresentationUpdater.java   
public void unselected(ITextViewer viewer) {
    if (fTextPresentationListener != null) {
        ((ITextViewerExtension4) viewer).removeTextPresentationListener(fTextPresentationListener);
        fTextPresentationListener = null;
    }
    repairPresentation(viewer);
    fRememberedStyleRange = null;
}