public interface LineAnnotationAspect
EditorGutterAction
to handle clicks on the annotation.FileAnnotation.getAspects()
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
AUTHOR |
static java.lang.String |
DATE |
static java.lang.String |
REVISION |
Modifier and Type | Method and Description |
---|---|
default java.awt.Color |
getBgColor(int line)
Used to override default background color
|
default ColorKey |
getColor(int line)
Used to override default text color
|
java.lang.String |
getId()
Returns unique identifier, that will be used to show/hide some aspects
If
null this line aspect won't be configurable in annotation settings |
default EditorFontType |
getStyle(int line)
Used to override default text style
|
java.lang.String |
getTooltipText(int line)
Used to show a tooltip for specific line or group of lines
|
java.lang.String |
getValue(int line)
Get annotation text for the specific line number
|
boolean |
isShowByDefault()
Returns
true if this aspect will be shown on Annotate action |
static final java.lang.String AUTHOR
static final java.lang.String DATE
static final java.lang.String REVISION
java.lang.String getValue(int line)
line
- the line number to queryjava.lang.String getTooltipText(int line)
line
- the line number to queryjava.lang.String getId()
null
this line aspect won't be configurable in annotation settingsboolean isShowByDefault()
true
if this aspect will be shown on Annotate actiontrue
if this aspect will be shown on Annotate actiondefault EditorFontType getStyle(int line)
default ColorKey getColor(int line)
default java.awt.Color getBgColor(int line)