@Override
	protected String getToolTipText(ProgramNode node) {
		if (!node.isFragment()) {
			return null;
		}

		ProgramFragment f = node.getFragment();
		if (f.getNumAddresses() == 0) {
			return "[ Empty ]";
		}

		AddressRangeIterator iter = f.getAddressRanges();
		StringBuffer sb = new StringBuffer();
		int count = 0;
		while (iter.hasNext()) {
			AddressRange range = iter.next();
			sb.append(range.toString());
			if (iter.hasNext()) {
				sb.append(" ");
			}
			++count;
			if (count > 4) {
				sb.append("...");
				break;
			}
		}
		return sb.toString();
	}
Get the string to use as the tool tip for the specified node.
@return tool tip if node represents a Fragment; returns null
if is not a Fragment.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/programtree/ProgramDnDTree.java