@Override
	public ProgramLocation map(ScalarRowObject rowObject, Program program,
			ServiceProvider serviceProvider) {

		Address scalarAddress = rowObject.getAddress();
		return new ProgramLocation(program, scalarAddress);
	}
This class will map a ScalarRowObject to a ProgramLocation
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/scalartable/ScalarRowObjectToProgramLocationTableRowMapper.java