GP-377 - Graphing - A few small refactorings

This commit is contained in:
dragonmacher 2021-02-02 15:41:48 -05:00
parent 9f2090d71c
commit 8493c333c8
10 changed files with 112 additions and 130 deletions

View file

@ -150,7 +150,7 @@ public class BlockGraphTask extends Task {
if (showCode) {
display.defineVertexAttribute(CODE_ATTRIBUTE);
display.defineVertexAttribute(SYMBOLS_ATTRIBUTE);
display.setVertexLabel(CODE_ATTRIBUTE, GraphDisplay.ALIGN_LEFT, 12, true,
display.setVertexLabelAttribute(CODE_ATTRIBUTE, GraphDisplay.ALIGN_LEFT, 12, true,
codeLimitPerBlock + 1);
}
display.setGraph(graph, graphTitle, appendGraph, monitor);

View file

@ -74,7 +74,7 @@ public class TestGraphDisplay implements GraphDisplay {
}
@Override
public void setVertexLabel(String attributeName, int alignment, int size, boolean monospace,
public void setVertexLabelAttribute(String attributeName, int alignment, int size, boolean monospace,
int maxLines) {
// nothing
}