public void save(SaveState saveState) {
		if (ranges.isEmpty()) {
			return;
		}
		Element listElement = new Element("FIELD_RANGES");
		for (FieldRange range : ranges) {
			Element element = range.getElement();
			listElement.addContent(element);
		}
		saveState.putXmlElement("FIELD_SELECTION", listElement);
	}
Insert all fields in the ranges in the given field selection from this one.
@param selection the field selection fields to add to this field selection.
Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/support/FieldSelection.java