function setSelectedResultID(this, clientSelectedResult)
    % SETSELECTEDRESULTID
    
    % Copyright 2018 The MathWorks, Inc.
    
    this.UISelectedResult = clientSelectedResult;
    if ~isempty(clientSelectedResult.id)
        this.SelectedResultObject = fxptui.ScopingTableUtil.getResultForClientResultID(clientSelectedResult.id);
    end
end