private void moveRanges(ProgramFragment destFrag, AddressSetView setView)
			throws NotFoundException {
		// make a copy of the set view so we can iterate over
		// a constant range
		AddressSetView view = new AddressSet(setView);
		AddressRangeIterator iter = view.getAddressRanges();
		while (iter.hasNext()) {
			AddressRange range = iter.next();
			destFrag.move(range.getMinAddress(), range.getMaxAddress());
		}
	}
Move code units in the address set view.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/programtree/ProgramDnDTree.java