www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgtradeoffgui/@tableCentricUI/pMakeMenus.m
function pMakeMenus(obj) %PMAKEMENUS Create the menus for the object % % PMAKEMENUS(OBJ) is called when menus should be created for the GUI. % Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc. % Make the figure menus obj.pMakeViewMenu; obj.pMakeTablesMenu; obj.pMakeInputsMenu; % Make and attach the table uicontextmenu uic = obj.pMakeTableContextMenu; obj.TableView.UIContextMenu = uic; % Make and attach the graphs uicontextmenu uic = obj.pMakeGraphsContextMenu; obj.GraphsView.UIContextMenu = uic;