DataAction.createAndAddGeneratedGrainViewParameter Method
Static method for creating auto-generated view parameter for a grain, and adding it to the given view.
This method is static.
Parameters
- metricSet
-
Type: MetricSet
The metric set to set up the grain for.
- action
-
Type: Action
The action that this view parameter is for.
- adapter
-
Type: Adapter
The adapter that this view parameter is going to act on.
- metricSetBinding
-
Type: MetricSetBinding
The metric set binding that this view parameter is for.
- currentView
-
Type: View
(optional) The view that this view parameter is going to be put on.
Optional: True
- hierarchy
-
Type: HierarchyUsage
(optional) The hierarchy to use to set up this view parameter for. If none is specified, the first is used.
Optional: True
- existingViewParameter
-
Type: ViewParameter
(optional) The view parameter to use (instead of creating a new one).
Optional: True
Return Value
Type: ViewParameter - May be null
The created view parameter, or null if one couldn't be made.