public interface ISourceViewerExtension5
ISourceViewer
.
It introduces API to access a minimal set of code mining APIs.
ICodeMining
,
ICodeMiningProvider
Modifier and Type | Method and Description |
---|---|
boolean |
hasCodeMiningProviders()
Returns
true if there are code mining providers and false
otherwise. |
void |
setCodeMiningAnnotationPainter(AnnotationPainter painter)
Set the
AnnotationPainter to use to draw code minings. |
void |
setCodeMiningProviders(org.eclipse.jface.text.codemining.ICodeMiningProvider[] codeMiningProviders)
Register the code mining providers.
|
void |
updateCodeMinings()
Update the code minings.
|
void setCodeMiningAnnotationPainter(AnnotationPainter painter)
AnnotationPainter
to use to draw code minings.painter
- the AnnotationPainter
to use to draw code minings.void setCodeMiningProviders(org.eclipse.jface.text.codemining.ICodeMiningProvider[] codeMiningProviders)
codeMiningProviders
- the code mining providers to register.boolean hasCodeMiningProviders()
true
if there are code mining providers and false
otherwise.true
if there are code mining providers and false
otherwise.void updateCodeMinings()
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.