protected void formatNode(IDOMNode node, IStructuredFormatContraints formatContraints) { if (node != null && (fProgressMonitor == null || !fProgressMonitor.isCanceled())) { // format indentation before node formatIndentationBeforeNode(node, formatContraints); // format indentation after node formatIndentationAfterNode(node, formatContraints); } }