function schema
% Defines properties for @constrdata superclass

%   Copyright 1986-2002 The MathWorks, Inc. 
%   $Revision: 1.1.6.2 $ $Date: 2004/12/26 21:51:05 $

pk = findpackage('plotconstr');

% Register class 
c = schema.class(pk,'constrdata');

%Data
p = schema.prop(c,'Type','string');       % Upper/lower flag
p.FactoryValue = 'lower';
p = schema.prop(c,'Weight','mxArray');    % Constraint weight
p.FactoryValue = 1;
schema.prop(c,'xCoords','mxArray');   % x-Axis Start and end coordinates
p = schema.prop(c,'xUnits','string');     % x-Axis units
p.FactoryValue = 'none';
schema.prop(c,'yCoords','mxArray');   % y-Axis Start and end coordinates
p = schema.prop(c,'yUnits','string');     % y-Axis units
p.FactoryValue = 'none';

%Event
schema.event(c, 'DataChanged');


