getWidgets
Class: slmetric.dashboard.Layout
Namespace: slmetric.dashboard
(To be removed) Obtain a list of widgets in an
slmetric.dashboard.Layout
object
The Metrics Dashboard user interface, metricdashboard
function, slmetric
package API, and corresponding customizations will be removed in a future release. For more information, see Migrating from Metrics Dashboard to Model Maintainability Dashboard.
Description
creates an array of objects that are in the Layout
= getWidgets(dashboardLayout
)slmetric.dashboard.Layout
object. These objects are widgets of the following types:
slmetric.dashboard.Group
slmetric.dashboard.Container
slmetric.dashboard.Widget
slmetric.dashboard.CustomWidget
Use the getWidgets
method to identify widgets that you
want to modify or remove from the slmetric.dashboard.Layout
object.