-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
41 changed files
with
151 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<deployment-project plugin="plugin.toolbox" plugin-version="1.0"> | ||
<configuration file="C:\Work\widgets-toolbox-2020\deploy\Toolbox Packaging Project.prj" location="C:\Work\widgets-toolbox-2020\deploy" name="Toolbox Packaging Project" target="target.toolbox" target-name="Package Toolbox"> | ||
<configuration file="C:\Work\widgets-toolbox\deploy\Toolbox Packaging Project.prj" location="C:\Work\widgets-toolbox\deploy" name="Toolbox Packaging Project" target="target.toolbox" target-name="Package Toolbox"> | ||
<param.appname>Widgets Toolbox - MATLAB App Building Components</param.appname> | ||
<param.authnamewatermark>Robyn Jackey</param.authnamewatermark> | ||
<param.email>[email protected]</param.email> | ||
|
@@ -30,9 +30,15 @@ Planning a complex or business-critical app? MathWorks Consulting can advise you | |
<param.screenshot>${PROJECT_ROOT}\widgets_logo.png</param.screenshot> | ||
<param.version>2.0.0</param.version> | ||
<param.output>${PROJECT_ROOT}\Widgets Toolbox - MATLAB App Building Components.mltbx</param.output> | ||
<param.products.name /> | ||
<param.products.id /> | ||
<param.products.version /> | ||
<param.products.name> | ||
<item>MATLAB</item> | ||
</param.products.name> | ||
<param.products.id> | ||
<item>1</item> | ||
</param.products.id> | ||
<param.products.version> | ||
<item>9.9</item> | ||
</param.products.version> | ||
<param.platforms /> | ||
<param.guid>78895307-cc36-4970-8b66-0697da8f9352</param.guid> | ||
<param.exclude.filters /> | ||
|
@@ -51,7 +57,7 @@ Planning a complex or business-critical app? MathWorks Consulting can advise you | |
<param.apps /> | ||
<param.registered.apps /> | ||
<param.docs /> | ||
<param.getting.started.guide>C:\Work\widgets-toolbox-2020\widgets\doc\GettingStarted.mlx</param.getting.started.guide> | ||
<param.getting.started.guide>C:\Work\widgets-toolbox\widgets\doc\GettingStarted.mlx</param.getting.started.guide> | ||
<param.matlabpath.excludes /> | ||
<param.javaclasspath.excludes /> | ||
<param.exported.on.package>true</param.exported.on.package> | ||
|
@@ -76,9 +82,6 @@ Planning a complex or business-critical app? MathWorks Consulting can advise you | |
<param.email /> | ||
<param.company /> | ||
<param.output /> | ||
<param.products.name /> | ||
<param.products.id /> | ||
<param.products.version /> | ||
<param.platforms /> | ||
<param.exclude.filters /> | ||
<param.exclude.pcodedmfiles /> | ||
|
@@ -104,21 +107,21 @@ Planning a complex or business-critical app? MathWorks Consulting can advise you | |
<param.additional.sw.linux.url /> | ||
</unset> | ||
<fileset.rootdir> | ||
<file>C:\Work\widgets-toolbox-2020\widgets</file> | ||
<file>C:\Work\widgets-toolbox\widgets</file> | ||
</fileset.rootdir> | ||
<fileset.rootfiles> | ||
<file>C:\Work\widgets-toolbox-2020\widgets\+wt</file> | ||
<file>C:\Work\widgets-toolbox-2020\widgets\Contents.m</file> | ||
<file>C:\Work\widgets-toolbox-2020\widgets\demos.xml</file> | ||
<file>C:\Work\widgets-toolbox-2020\widgets\doc</file> | ||
<file>C:\Work\widgets-toolbox-2020\widgets\examples</file> | ||
<file>C:\Work\widgets-toolbox-2020\widgets\icons</file> | ||
<file>C:\Work\widgets-toolbox\widgets\+wt</file> | ||
<file>C:\Work\widgets-toolbox\widgets\Contents.m</file> | ||
<file>C:\Work\widgets-toolbox\widgets\demos.xml</file> | ||
<file>C:\Work\widgets-toolbox\widgets\doc</file> | ||
<file>C:\Work\widgets-toolbox\widgets\examples</file> | ||
<file>C:\Work\widgets-toolbox\widgets\icons</file> | ||
</fileset.rootfiles> | ||
<fileset.depfun.included /> | ||
<fileset.depfun.excluded /> | ||
<fileset.package /> | ||
<build-deliverables> | ||
<file location="${PROJECT_ROOT}" name="Widgets Toolbox - MATLAB App Building Components.mltbx" optional="false">C:\Work\widgets-toolbox-2020\deploy\Widgets Toolbox - MATLAB App Building Components.mltbx</file> | ||
<file location="${PROJECT_ROOT}" name="Widgets Toolbox - MATLAB App Building Components.mltbx" optional="false">C:\Work\widgets-toolbox\deploy\Widgets Toolbox - MATLAB App Building Components.mltbx</file> | ||
</build-deliverables> | ||
<workflow /> | ||
<matlab> | ||
|
Binary file not shown.
2 changes: 0 additions & 2 deletions
2
resources/project/EEtUlUb-dLAdf0KpMVivaUlztwA/39wIcdqtQwsW_kRJg8SWy3xWLYId.xml
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
resources/project/EEtUlUb-dLAdf0KpMVivaUlztwA/39wIcdqtQwsW_kRJg8SWy3xWLYIp.xml
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
resources/project/EEtUlUb-dLAdf0KpMVivaUlztwA/_Ga3DoeXaN04HFeiae9oDJlS3zEd.xml
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
resources/project/EEtUlUb-dLAdf0KpMVivaUlztwA/_Ga3DoeXaN04HFeiae9oDJlS3zEp.xml
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
resources/project/FI0gxbH-PhwjE_riDQGHPyYMHks/awrlajJLcZzw8yw34gTdVz-1i68p.xml
This file was deleted.
Oops, something went wrong.
File renamed without changes.
2 changes: 2 additions & 0 deletions
2
resources/project/FVIFMHuse2VWlFgbqX2S_OQzxiU/9DZdvT-agLbwX4sKam8rRmyD7Rkp.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<Info location="Widgets Toolbox 2.0.0.mltbx" type="File" /> |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions
2
resources/project/HoHDHQ_WvHAAKj5aJOrvrg_vpt8/_AaXeSXN25LJDHXRTRO6nynFuZEp.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<Info location="DependencyAnalysis" type="Extension" /> |
6 changes: 6 additions & 0 deletions
6
resources/project/QfRan8VIS8FJWu9sq7_nfr0NcFw/U0HPpMVu3kKB_0KLjvOccxW_-Esd.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<Info> | ||
<Category UUID="FileClassCategory"> | ||
<Label UUID="design" /> | ||
</Category> | ||
</Info> |
2 changes: 2 additions & 0 deletions
2
resources/project/QfRan8VIS8FJWu9sq7_nfr0NcFw/U0HPpMVu3kKB_0KLjvOccxW_-Esp.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<Info location="DisplayNonScalarObjectAsTable.m" type="File" /> |
2 changes: 0 additions & 2 deletions
2
resources/project/Xc4-tOl6vkwzCeVKSWRahPrXJiQ/NgzkWikjqYNhCYizBxASd5U7mjgp.xml
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...dVz-1i68/Xc4-tOl6vkwzCeVKSWRahPrXJiQd.xml → ...6nynFuZE/913ZuJlj8vPKkAdAH60KHnsvogAd.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<Info /> | ||
<Info File0="createNewSession" /> |
2 changes: 2 additions & 0 deletions
2
resources/project/_AaXeSXN25LJDHXRTRO6nynFuZE/913ZuJlj8vPKkAdAH60KHnsvogAp.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<Info location="ExternalFiles" type="Extension" /> |
2 changes: 0 additions & 2 deletions
2
resources/project/awrlajJLcZzw8yw34gTdVz-1i68/x8p1UpeS-OS3ojHU32ZLtpSnRU0d.xml
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
resources/project/awrlajJLcZzw8yw34gTdVz-1i68/x8p1UpeS-OS3ojHU32ZLtpSnRU0p.xml
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
2 changes: 0 additions & 2 deletions
2
resources/project/qaw0eS1zuuY1ar9TdPn1GMfrjbQ/FI0gxbH-PhwjE_riDQGHPyYMHksd.xml
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
resources/project/qaw0eS1zuuY1ar9TdPn1GMfrjbQ/FI0gxbH-PhwjE_riDQGHPyYMHksp.xml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<Info location="Extensions" type="Root" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
classdef (HandleCompatible) DisplayNonScalarObjectAsTable < matlab.mixin.CustomDisplay | ||
% DisplayNonScalarObjectAsTable - | ||
% --------------------------------------------------------------------- | ||
% Abstract: This mixin class overrides displayNonScalarObject() to | ||
% display an array of objects as a table. | ||
% | ||
|
||
% Copyright 2018-2019 The MathWorks, Inc. | ||
% | ||
% Auth/Revision: | ||
% MathWorks Consulting | ||
% $Author: rjackey $ | ||
% $Revision: 348 $ $Date: 2018-03-02 15:51:54 -0500 (Fri, 02 Mar 2018) $ | ||
% --------------------------------------------------------------------- | ||
|
||
|
||
%% Public Methods | ||
methods (Sealed) | ||
|
||
function t = toDisplayTable(obj) | ||
% Convert the object to a table | ||
|
||
% Prepare indices as row names | ||
numObj = numel(obj); | ||
if isrow(obj) | ||
indices = string(1:numObj)'; | ||
else | ||
varargout = cell(1,ndims(obj)); | ||
[varargout{:}] = ind2sub(size(obj),1:numObj); | ||
indices = string(vertcat(varargout{:})'); | ||
indices = join(indices,',',2); | ||
end | ||
rowNames = "(" + indices + ")"; | ||
|
||
% Check for deleted handle objects | ||
if isa(obj,'handle') | ||
isDeleted = ~isvalid(obj); | ||
obj(isDeleted) = []; | ||
rowNames(isDeleted) = []; | ||
end | ||
|
||
% Gather property info | ||
props = string( properties(obj) )'; | ||
|
||
% Preallocate a cell to store values | ||
numProps = numel(props); | ||
numObj = numel(obj); | ||
values = cell(numObj,numProps); | ||
|
||
% Populate cell with property values | ||
for pIdx = 1:numProps | ||
thisProp = props(pIdx); | ||
values(:,pIdx) = {obj.(thisProp)}'; | ||
end %for | ||
|
||
% Convert to table | ||
t = cell2table(values,'VariableNames',props,'RowNames',rowNames); | ||
|
||
end %function | ||
|
||
end %methods | ||
|
||
|
||
%% Protected Methods | ||
methods (Sealed, Access=protected) | ||
|
||
function displayNonScalarObject(obj) | ||
|
||
% Format text to display | ||
className = matlab.mixin.CustomDisplay.getClassNameForHeader(obj); | ||
dimStr = matlab.mixin.CustomDisplay.convertDimensionsToString(obj); | ||
|
||
% Display the header | ||
if isa(obj,'matlab.mixin.Heterogeneous') | ||
fprintf(' %s Heterogeneous %s with common properties:\n\n',dimStr,className); | ||
else | ||
fprintf(' %s %s with properties:\n\n',dimStr,className); | ||
end | ||
|
||
% Show the group list in a table | ||
disp( obj.toDisplayTable() ); | ||
|
||
if isa(obj,'handle') && any(~isvalid(obj)) | ||
fprintf(' Object array contains deleted handles.\n'); | ||
end | ||
|
||
end %function | ||
|
||
end %methods | ||
|
||
|
||
end % classdef |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.