www.gusucode.com > mbcexpr 工具箱 matlab 源码程序 > mbcexpr/@cgconstraint/generateEditorPages.m
function hInfo = generateEditorPages(obj, hPropGroup, PROJ) %#ok<INUSD,INUSL> %GENERATEEDITORPAGES Generate standard editor pages for the constraint % % HINFO = GENERATEEDITORPAGES(OBJ, HGROUP, PROJ) creates DialogPageInfo % objects for the editor pages of the constraint. % Copyright 2000-2015 The MathWorks, Inc. and Ford Global Technologies, Inc. hInfo = mbcgui.dialog.PageInfo( ... 'PageGroup', hPropGroup, ... 'Name', 'General', ... 'HelpHandler', 'cghelptool', ... 'HelpCode', '', ... 'CreateCallback', @i_createlyt); function i_createlyt(hInfo, ~) hParent = hInfo.Parent; u = uicontrol('Parent', hParent, ... 'Visible', 'off', ... 'Style', 'text', ... 'String', '<Unable to edit constraint>'); hInfo.setUI(u);