@Override
	public AddressSetView addToView(ProgramLocation loc) {
		if (program != null && loc != null && loc.getAddress() != null) {
			addLocationToView(loc);
		}
		else {
			view = new AddressSet();
		}
		return view;

	}
Provides a view of the program tree.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/programtree/TreeViewProvider.java