www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgtradeoffgui/@mmTableSelectionView/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'; ...
    'TableSelectionChanged'; ...
    }, ...
    { ...
    {@i_fullrefresh, obj}; ...
    {@i_fullrefresh, obj}; ...
    } ...
    );

obj.pUpdateList;

function i_fullrefresh(src, evt, obj)
obj.pUpdateList;