public interface VcsLogHighlighter
Modifier and Type | Interface and Description |
---|---|
static class |
VcsLogHighlighter.TextStyle
Text style.
|
static interface |
VcsLogHighlighter.VcsCommitStyle
Describes how to display commit entry in the log table (for example, text or background color).
|
Modifier and Type | Method and Description |
---|---|
VcsLogHighlighter.VcsCommitStyle |
getStyle(int commitId,
VcsShortCommitDetails commitDetails,
boolean isSelected)
Return the style which should be used for the log table commit entry, or VcsCommitStyle.DEFAULT if this highlighter does not specify any style for this commit.
|
void |
update(VcsLogDataPack dataPack,
boolean refreshHappened)
This method is called when new data arrives to the ui.
|
VcsLogHighlighter.VcsCommitStyle getStyle(int commitId, VcsShortCommitDetails commitDetails, boolean isSelected)
commitId
- id of selected commit.commitDetails
- details of selected commit.isSelected
- if true, the row currently has selection on it.void update(VcsLogDataPack dataPack, boolean refreshHappened)
dataPack
- new visible pack.refreshHappened
- true if permanent graph has changed.