function schema
%
% Sample Object for SpreadSheet demo
%
% >> h = DAStudio.SampleSpreadSheetObj('name','value','type');

% Copyright 2015 The MathWorks, Inc.

% 
% Class Definition
% 
hSuperPackage = findpackage('DAStudio');
hSuperClass   = findclass(hSuperPackage, 'Object');
hPackage      = findpackage('DAStudio'); 
hThisClass    = schema.class(hPackage, 'SampleSpreadSheetObject', hSuperClass);
% methods
m = schema.method(hThisClass, 'getDisplayLabel');
s = m.Signature;
s.varargin = 'off';
s.InputTypes = {'handle'};
s.OutputTypes = {'ustring'};

m = schema.method(hThisClass, 'getDisplayIcon');
s = m.Signature;
s.varargin = 'off';
s.InputTypes = {'handle'};
s.OutputTypes = {'string'};

m = schema.method(hThisClass, 'getPropValue');
s = m.Signature;
s.varargin = 'off';
s.InputTypes = {'handle', 'string'};
s.OutputTypes = {'ustring'};

m = schema.method(hThisClass, 'propertyHyperlink');
s = m.Signature;
s.varargin = 'off';
s.InputTypes  = {'handle', 'string', 'bool'};
s.OutputTypes = {'bool'};

%
% properties
%
p = schema.prop(hThisClass, 'Prop1', 'string');
p = schema.prop(hThisClass, 'Prop2', 'string');
p = schema.prop(hThisClass, 'Prop3', 'string');

