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

    function pPostSetMessageService(obj)
%PPOSTSETMESSAGESERVICE Method that is called when the message service is set
%
%  PPOSTSETMESSAGESERVICE(OBJ) is called in response to a new message
%  service being set in the object.

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


obj.super('pPostSetMessageService');

obj.addMessageServiceListener( ...
    { ...
    'DataChanged'; ...
    'SiteSelectionChanged'; ...
    'ToleranceChanged'; ...
    }, ...
    { ...
    {@i_fullrefresh, obj}; ...
    {@i_updatetable, obj}; ...
    {@i_updatetol, obj}; ...
    } ...
    );

obj.pUpdateTol;
obj.pUpdateTable;


function i_fullrefresh(src, evt, obj)
obj.pUpdateTol;
obj.pUpdateTable;

function i_updatetable(src, evt, obj)
obj.pUpdateTable;

function i_updatetol(src, evt, obj)
obj.pUpdateTol;