@Override
	public void selectionChanged(FieldSelection selection, EventTrigger trigger) {
		if (blockSet == null || doingRefresh) {
			return;
		}

		ByteBlockSelection sel = processFieldSelection(selection);

		// notify panel to update other components
		panel.updateSelection(this, sel);
		setViewerSelection(sel);
	}
Called whenever the FieldViewer selection changes.
Ghidra/Features/ByteViewer/src/main/java/ghidra/app/plugin/core/byteviewer/ByteViewerComponent.java