public void setView(AddressSetView view) {

		view = ImmutableAddressSet.asImmutable(view);

		AddressIndexMap currentMap = layoutModel.getAddressIndexMap();
		AddressSetView originalView = currentMap.getOriginalAddressSet();
		if (view.hasSameAddresses(originalView)) {
			return;
		}

		layoutModel.setAddressSet(view);
		updateProviders();
	}
Restricts the program's view to the given address set

@param view the set of address to include in the view.
Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/listingpanel/ListingPanel.java