void setSelection(boolean state) {
		setErrorMessage("");

		selectionAction.setSelected(state);
		selectionAction.setEnabled(state);
		if (state) {
			generate();
		}
		else {
			clearFields();
		}
	}
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