function hiliteDTGroup(this)
% HILITEDTGROUP function highlights all blocks in a data type group of a
% the current selected result in Fixed Point Tool 

% Copyright 2018-2019 The MathWorks, Inc.

    selection = this.FPTInstance.getSelectedResult();
    
    if isempty(selection)
        fxptui.showdialog('generalnoselection');
        return;
    end
    
    if ~selection.hasDTGroup
        return;
    end
    
    % TODO: Remove AbstractActions from fxptds.* Classes and make it a UI
    % only class.
    fxptds.AbstractActions.selectAndInvoke('hiliteDTGroup', selection);
end
