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

% Register class 
p = findpackage('tsguis');
pparent = findpackage('wavepack');
% Register class 
c = schema.class(p,'tsplot',findclass(pparent,'waveplot'));

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

%% Property defining the waves for whom a selection operation is in
%% progress
schema.prop(c, 'SelectedWaves','MATLAB array');

%% Interval selection mode
if isempty(findtype('tsIntervalSelectionMode'))
    schema.EnumType('tsIntervalSelectionMode', ...
        {'None','IntervalSelect','IntervalSelecting'});
end
p = schema.prop(c,'State','tsIntervalSelectionMode');
p.FactoryValue = 'None';

%% Property editor handle
schema.prop(c, 'PropEditor','MATLAB array');

p = schema.prop(c,'Absolutetime','on/off');
p.FactoryValue = 'off';
p = schema.prop(c,'Timeunits','string');
p.FactoryValue = 'secs';