Class GraphRulesTable
java.lang.Object
io.github.jbastgen.stemma.app.graph.GraphRulesTable
The table of colour rules for branches (feature 17): a branch pattern (
main, feature/STM-*, re:release/\d+)
and a colour (#rrggbb) per row, in order; the first matching row wins. It reads and writes the rule text of the settings
(pattern = #hex per line), so what is stored does not change.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
GraphRulesTable
- Parameters:
text- the rules as stored in the settings, one per lineonChange- gets the new text after every edit
-
-
Method Details
-
node
public javafx.scene.Node node()The table with its buttons: add, remove, move up and down. -
setText
Replaces the rows by the rules of the text.
-