protected void setRegisterValues(ProgramLocationActionContext context) {
		Register register = getRegister(context);
		AddressSetView addrSet = getAddressSet(context);
		if (register == null) {
			register = registerMgrProvider.getSelectedRegister();
		}
		setRegisterValues(context, register, addrSet, true);
	}
Shows the registers available in a program along with any values that are set.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/register/RegisterPlugin.java