getPosition
Class: slmetric.dashboard.CustomWidget
Namespace: slmetric.dashboard
(To be removed) Obtain custom widget position within Metrics Dashboard
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.
Syntax
Num = getPosition(CustomWidget)
Description
returns the position of an Num
= getPosition(CustomWidget
)slmetric.dashboard.CustomWidget
object within an
array that holds Metrics Dashboard objects. These objects are in an
slmetric.dashboard.Layout
, an
slmetric.dashboard.Group
, or an
slmetric.dashboard.Container
object. The order of objects in the array
corresponds to proceeding from left to right, and then down in the Metrics Dashboard.