private boolean doOnSelection() {
		return selectionAction.isEnabled() && plugin.hasSelection() && selectionAction.isSelected();
	}
Constructor for the provider.
@param plugin The plugin that created the provider.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/checksums/ComputeChecksumsProvider.java