Skip to content

Commit 0b3b894

Browse files
authored
Merge pull request #115 from mathworks/102-update-naming-widgets-toolbox---app-designer-to-place-it-before-the-legacy-widgets-in-add-on-browser
102 update naming widgets toolbox app designer to place it before the legacy widgets in add on browser
2 parents 602945d + cda2876 commit 0b3b894

File tree

7 files changed

+33
-11
lines changed

7 files changed

+33
-11
lines changed

README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Widgets Toolbox - MATLAB App Designer Components
1+
# Widgets Toolbox - App Designer and Advanced App Components
22

3-
[![View Widgets Toolbox - MATLAB App Designer Components on File Exchange](https://www.mathworks.com/matlabcentral/images/matlab-file-exchange.svg)](https://www.mathworks.com/matlabcentral/fileexchange/83328-widgets-toolbox-matlab-app-designer-components)
3+
[![View Widgets Toolbox - App Designer and Advanced App Components on File Exchange](https://www.mathworks.com/matlabcentral/images/matlab-file-exchange.svg)](https://www.mathworks.com/matlabcentral/fileexchange/83328)
44
[![Open in MATLAB Online](https://www.mathworks.com/images/responsive/global/open-in-matlab-online.svg)](https://matlab.mathworks.com/open/github/v1?repo=mathworks/widgets-toolbox&project=WidgetsToolbox.prj)
55

66
Widgets Toolbox helps you efficiently develop advanced user interfaces in MATLAB and App Designer. Widgets combine existing control functionalities together into larger, reusable, common functionality to accelerate development of graphical user interfaces.
@@ -18,8 +18,15 @@ Components include:
1818
- Slider control linked to a numeric spinner and edit field
1919
- List of tasks with icons indicating status (pass, fail, running, complete, etc.)
2020
- Toolbar with advanced layout functionality that can appear like a toolstrip
21+
- Contextual pane that can switch contents (similar to card panel, tab panel, uitab)
2122

22-
This version of Widgets Toolbox is intended for NEW development of uifigure or App Designer apps starting from R2020b or newer releases.
23+
Additional object-oriented code components provide enable you to work more efficiently developing advanced apps using a modular hand-code approach. You can use model-view-controller or a similar separated presentation architecture.
24+
25+
- Application superclasses for managing single or multiple session files
26+
- Preference management
27+
- Superclasses for model-view-controller implementation
28+
29+
This version of Widgets Toolbox is intended for NEW development of uifigure or App Designer apps starting from R2021a or newer releases.
2330

2431
If you have an existing MATLAB app using Widgets Toolbox content developed prior to R2020b, you may also need "Widgets Toolbox (Compatibility Support)".
2532
https://www.mathworks.com/matlabcentral/fileexchange/66235-widgets-toolbox-compatibility-support

deploy/+wt/+deploy/getPackageOptions.m

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101

102102

103103
%% Metadata
104-
opts.ToolboxName = "Widgets Toolbox - MATLAB App Designer and Advanced App Components";
104+
opts.ToolboxName = "Widgets Toolbox - App Designer and Advanced App Components";
105105

106106
opts.Summary = "Additional app building components to efficiently " + ...
107107
"develop advanced user interfaces in MATLAB";
@@ -123,9 +123,14 @@
123123
" - Slider control linked to a numeric spinner and edit field"
124124
" - List of tasks with icons indicating status (pass, fail, running, complete, etc.)"
125125
" - Toolbar with advanced layout functionality that can appear like a toolstrip"
126+
" - Contextual pane that can switch contents (similar to card panel, tab panel, uitab)"
126127
""
127128
"Additional object-oriented code components provide enable you to work more efficiently developing advanced apps using a modular hand-code approach. You can use model-view-controller or a similar separated presentation architecture."
128129
""
130+
" - Application superclasses for managing single or multiple session files"
131+
" - Preference management"
132+
" - Superclasses for model-view-controller implementation"
133+
""
129134
"This version of Widgets Toolbox is intended for NEW development of uifigure or App Designer apps starting from R2021a or newer releases."
130135
""
131136
"If you have an existing MATLAB app using Widgets Toolbox 1.x content, you may also need 'Widgets Toolbox (Compatibility Support)'."

test/+wt/+test/ZooHierarchyApp.m

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,11 +300,21 @@ function testSaveLoadSession(testCase)
300300

301301
% Find the animal view
302302
view = cview.ActiveView;
303+
304+
import matlab.unittest.constraints.Eventually
305+
import matlab.unittest.constraints.Matches
303306

304307
% Verify name in view matches
305308
diag = "Expected updated name to display in the view after loading.";
306-
actVal = view.NameField.Value;
307-
testCase.verifyMatches(actVal, newName, diag);
309+
testCase.verifyThat(...
310+
@()string(view.NameField.Value),...
311+
Eventually(Matches(newName), "WithTimeoutOf", 5), ...
312+
diag);
313+
314+
% Verify name in view matches
315+
% diag = "Expected updated name to display in the view after loading.";
316+
% actVal = view.NameField.Value;
317+
% testCase.verifyMatches(actVal, newName, diag);
308318

309319
end %function
310320

widgets/doc/MainPage.html

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

widgets/doc/MainPage.mlx

1 Byte
Binary file not shown.

widgets/doc/helptoc.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<toc version="2.0">
44
<!-- First tocitem specifies top level in Help browser Contents pane -->
55
<!-- This can be a roadmap page, as shown below, or a content page -->
6-
<tocitem target="MainPage.html">Widgets Toolbox - MATLAB App Designer and Advanced App Components
6+
<tocitem target="MainPage.html">Widgets Toolbox - App Designer and Advanced App Components
77

88
<!-- Getting Started Guide -->
99
<tocitem target="GettingStarted.html" image="HelpIcon.GETTING_STARTED">

widgets/info.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<!-- to parse the file -->
1212
<matlabrelease>2024b</matlabrelease>
1313
<!-- (Required) Title of toolbox. Appears in the Contents pane -->
14-
<name>Widgets (MATLAB App Designer and Advanced App Components)</name>
14+
<name>Widgets (App Designer and Advanced App Components)</name>
1515
<!-- (Required) Label for the toolbox. pick one: -->
1616
<!-- matlab, toolbox, simulink, blockset, links_targets -->
1717
<type>toolbox</type>

0 commit comments

Comments
 (0)