@Override
	protected void selectionChanged(ProgramSelection selection) {
		provider.setSelection(hasSelection());
	}
Notifies the provider that the selection has changed.
@param selection the current program selection.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/checksums/ComputeChecksumsPlugin.java