Interface FilesView.Source
- Enclosing class:
FilesView
public static interface FilesView.Source
Where the files come from.
-
Method Summary
Modifier and TypeMethodDescriptiondefault StringauthorName(io.github.jbastgen.stemma.git.api.BlameLine line) The name to show for the author of a blamed line (the display name of the user mapping).default voidblame(String revision, String path, io.github.jbastgen.stemma.git.api.BlameOptions options, BiConsumer<List<io.github.jbastgen.stemma.git.api.BlameLine>, String> then) Blames a file as it is in a revision (a commit id,<id>^, orwipfor the last commit);thengets the lines, or null and the reason (feature 47).voidThe content of a file, null when it is not there.default booleanWhether source files are shown with the colours of their language (feature 52).voidA link of a rendered Markdown file was clicked.voidThe paths of all files of the commitsel(wip= the last commit);thenruns on the UI thread, null on failure.default voidshowCommit(String commitId) A commit was chosen in the blame: show it in the history.default voidshowHistory(String path, boolean folder) The history of a file or folder was asked for in the menu of the tree (feature 46).default Themetheme()The colours of the theme, for the age of the lines.
-
Method Details
-
paths
The paths of all files of the commitsel(wip= the last commit);thenruns on the UI thread, null on failure. -
bytes
The content of a file, null when it is not there. -
openLink
A link of a rendered Markdown file was clicked. -
blame
default void blame(String revision, String path, io.github.jbastgen.stemma.git.api.BlameOptions options, BiConsumer<List<io.github.jbastgen.stemma.git.api.BlameLine>, String> then) Blames a file as it is in a revision (a commit id,<id>^, orwipfor the last commit);thengets the lines, or null and the reason (feature 47). -
showHistory
The history of a file or folder was asked for in the menu of the tree (feature 46). -
showCommit
A commit was chosen in the blame: show it in the history. -
authorName
The name to show for the author of a blamed line (the display name of the user mapping). -
highlightSyntax
default boolean highlightSyntax()Whether source files are shown with the colours of their language (feature 52). -
theme
The colours of the theme, for the age of the lines.
-