setEnabled(false);
return;
}
if (fOperationTarget instanceof ITextOperationTargetExtension) {
ITextOperationTargetExtension targetExtension= (ITextOperationTargetExtension) fOperationTarget;
targetExtension.enableOperation(ISourceViewer.CONTENTASSIST_PROPOSALS, canModifyEditor());
}
setEnabled(fOperationTarget.canDoOperation(ISourceViewer.CONTENTASSIST_PROPOSALS));
}