@Override
	public void incrementProgress(long incrementAmount) {
		progress += incrementAmount;
		monitor.setProgress(currentRangeMin + progress * chunkSize);
	}
TaskMonitor implementation that is useful for monitor work when traversing trees.  

It works by subdividing the distance of the top-most progress bar (represented by the top-most
monitor) into equal size chunks depending on how many children have to be visited.  For example, 
assume the root node has 5 children, then the task bar for that node would increment 20% of
the bar as it completed work on each of its children. Now, assume each child of the root node 
has 10 children. The task monitor for each root child will operate entirely with its 20% as 
mentioned above.  So the first child of the first child will increment the progress bar 
2% (10% of 20%) when it is complete.
Ghidra/Framework/Docking/src/main/java/docking/widgets/tree/TreeTaskMonitor.java