function menu = getPopupSchema(this,manager)
% GETPOPUPSCHEMA Constructs the default popup menu

% Author(s): James G. Owen
% Revised: 
% Copyright 1986-2002 The MathWorks, Inc.
% $Revision: 1.1.6.1 $ $Date: 2004/12/26 21:44:03 $

%% Create menus
menu  = com.mathworks.mwswing.MJPopupMenu('Default Menu');
menuAddPlot = com.mathworks.mwswing.MJMenuItem('Add view...');
menu.add(menuAddPlot);

%% Assign menu callbacks
set(handle(menuAddPlot,'callbackproperties'),'ActionPerformedCallback',...
    @(es,ed) addPlot(get(get(manager,'Root'),'tsViewer'),get(this,'Label')))
