@Override
	public ProgramSelection getProgramSelection(int[] rows) {

		if (rows.length == 0) {
			return null;
		}

		AddressSet addressSet = new AddressSet();
		for (int row : rows) {

			MemoryBlock block = getRowObject(row);
			Address start = block.getStart();
			Address end = block.getEnd();

			if (start.isMemoryAddress() && end.isMemoryAddress()) {
				addressSet.addRange(start, end);
			}
		}
		return new ProgramSelection(addressSet);
	}
Create a new initialized block based on the given uninitialized block.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/memory/MemoryMapModel.java