www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgtradeoffgui/@setupUI/pStartLongAction.m

    function pStartLongAction(obj)
%PSTARTLONGACTION Setup GUI for a lengthy operation
%
%  PSTARTLONGACTION(OBJ) performs any actions that should be done before a
%  lengthy operation is begun.  This includes setting the figure pointer
%  to a watch, for example.

%  Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc.


if obj.PointerID==0
    PR = xregGui.PointerRepository;
    obj.PointerID = PR.stackSetPointer(obj.Parent, 'watch');
end