@Override
		public String convertValueToText(Object value, boolean selected, boolean expanded,
				boolean leaf, int row, boolean hasFocus) {

			String spacing = "";
			if (isCopyFormatted) {
				GTreeNode node = (GTreeNode) value;
				TreePath path = node.getTreePath();
				int n = path.getPathCount();
				int tabs = (n - 1) * 4; // no spacing for the first column
				spacing = StringUtils.repeat(' ', tabs);
			}

			String text = super.convertValueToText(value, selected, expanded, leaf, row, hasFocus);
			return spacing + text;
		}
Enable or disable using double-click to open and close tree nodes.  The default is true.
@param b true to enable
Ghidra/Framework/Docking/src/main/java/docking/widgets/tree/GTree.java