Class DocumentFooterCodeMining
java.lang.Object
org.eclipse.jface.text.codemining.AbstractCodeMining
org.eclipse.jface.text.codemining.DocumentFooterCodeMining
- All Implemented Interfaces:
- ICodeMining
A code mining rendered at the start of the line, located at the very end of the document.
- Since:
- 3.28
- 
Constructor SummaryConstructorsConstructorDescriptionDocumentFooterCodeMining(IDocument document, ICodeMiningProvider provider, Consumer<MouseEvent> action) 
- 
Method SummaryModifier and TypeMethodDescriptiondraw(GC gc, StyledText textWidget, Color color, int x, int y) Draw theAbstractCodeMining.getLabel()of mining with gray color.Methods inherited from class org.eclipse.jface.text.codemining.AbstractCodeMiningdispose, doResolve, getAction, getLabel, getPosition, getProvider, isResolved, resolve, setLabelMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.jface.text.codemining.ICodeMininggetMouseHover, getMouseMove, getMouseOut
- 
Constructor Details- 
DocumentFooterCodeMiningpublic DocumentFooterCodeMining(IDocument document, ICodeMiningProvider provider, Consumer<MouseEvent> action) 
 
- 
- 
Method Details- 
drawDescription copied from class:AbstractCodeMiningDraw theAbstractCodeMining.getLabel()of mining with gray color. User can override this method to draw anything.- Specified by:
- drawin interface- ICodeMining
- Overrides:
- drawin class- AbstractCodeMining
- Parameters:
- gc- the graphics context
- textWidget- the text widget to draw on
- color- the color of the line
- x- the x position of the annotation
- y- the y position of the annotation
- Returns:
- the size of the draw of mining.
 
 
-