Clarify GUIDE helper names

Agent-Logs-Url: https://github.com/kk14222/3D_EDFM_SIM-X/sessions/a128ab7f-6b94-4048-a847-f2dc37bbe0ab

Co-authored-by: kk14222 <217880052+kk14222@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-04-28 03:36:55 +00:00
committed by GitHub
co-authored by kk14222
parent 421696c5e0
commit 0018b44cea
3 changed files with 17 additions and 13 deletions
+5 -1
View File
@@ -1,6 +1,10 @@
classdef EDFMGuideComponent < handle
%EDFMGUIDECOMPONENT Compatibility adapter from GUIDE/uicontrol to App Designer-style properties.
properties (Constant, Access = private)
NUMERIC_FIELD_TYPE = 'numeric'
end
properties (SetAccess = private)
Handle
end
@@ -277,7 +281,7 @@ classdef EDFMGuideComponent < handle
function tf = isNumericEditField(obj)
userData = get(obj.Handle, 'UserData');
tf = isstruct(userData) && isfield(userData, 'Type') && strcmp(userData.Type, 'numeric');
tf = isstruct(userData) && isfield(userData, 'Type') && strcmp(userData.Type, obj.NUMERIC_FIELD_TYPE);
end
end