function schema
% Defines properties for @transaction class.
% Extension of transaction to support custom 
% refresh method after undo/redo.

%   Copyright 1986-2004 The MathWorks, Inc.
%   $Revision: 1.1.6.1 $ $Date: 2004/12/26 21:41:43 $

% Register class 
c = schema.class(findpackage('tsguis'),'transaction');

%% Transaction class is overloaded so that timeseries operations on
%% metadata, timeseries and timeseriesArray are stored together. This
%% enables undo and redo to be applied to all operations on timeseries
%% objects as a unit
% Editor data
schema.prop(c,'Name','string'); 
schema.prop(c,'Warnstring', 'string');
schema.prop(c,'Buffer','MATLAB array'); 
%% Transaction on timeseries and timseriesArray
schema.prop(c,'tsTransaction', 'handle');     
%% Transactions on metadata
schema.prop(c,'metaTransaction', 'handle');
