function schema
% Defines properties for derived xyplot class.
%
%   Author(s): James G. Owen
%   Copyright 1986-2002 The MathWorks, Inc. 
%   $Revision: 1.1.6.1 $ $Date: 2004/12/26 21:45:39 $

% Register class 
p = findpackage('tsguis');
pparent = findpackage('resppack');
% Register class as a subclass of @respplot in order to get multiple
% columns as well as rows
c = schema.class(p,'xyplot',findclass(pparent,'respplot'));

% Data selection mode
% if isempty(findtype('tsSelectionMode'))
%     schema.EnumType('tsSelectionMode', ...
%         {'None', 'DataSelect', 'TimeseriesSelect','TimeseriesSelected', ...
%         'TimeseriesSelecting'});
% end
%p = schema.prop(c,'State','tsSelectionMode');
%p.FactoryValue = 'None';
schema.prop(c, 'State', 'string');

%% Store parent @tsseriesnode. This is needed so that context menus 
%% can invoke dialogs which are aware of sibling nodes in the htree
schema.prop(c, 'Parent', 'handle');
schema.prop(c, 'PropEditor','MATLAB array');

%% Time property defaults used by merge/resample dialog
p = schema.prop(c,'Absolutetime','on/off');
p.FactoryValue = 'off';
p = schema.prop(c,'Timeunits','string');
p.FactoryValue = 'secs';


