Parameter Editor

This topic provides you with information concerning the parameter editor as well as information about its properties. A parameter editor enables you to select objects inside a proposed list.

This page discusses:

Layout Design

Properties Description
General
Enabled Defines whether the widget is enabled or not.
Name
Visible Sets whether the widget is visible or not.
Layout
AttachedToBottom Sets whether the widget is attached to the bottom side of the grid.
AttachedToleft Sets whether the widget is attached to the left side of the grid.
AttachedToRight Sets whether the widget is attached to the right side of the grid.
AttachedToTop Sets whether the widget is attached to the top of the grid.
ConstantHeight Sets whether the widget has a constant height.
ConstantWidth Sets whether the widget has a constant width.
Style
Multiline When set to true, lets you create a Parameter Editor with more than one line.
NbLines Lets you specify the number of lines.
Text Resources
ConstantWidth
Title Corresponds to the title or to the text content of the widget.

Knowledge Items

Items Description
Visibility Widget display.
Sensitivity Activation of the widget (may react to the user interaction).
Specification Editor options.
EditedParameter Parameters to edit.
NbLines Lines number (equles to the Layout Design Parameter)
The Possible values forSpecifications are:
  • CheckButton recommended for the Boolean parameters
  • RadioButtonsH(/V) recommended for the parameters with multiple values
  • SliderH(/V) recommended for the numerical parameters
  • Spinner suitable for the numerical parameters
  • ComboEditor suitable for the parameters with multiple values
  • NoFormula: value to set if you do not want formulas in contextual menu
  • NoRename: value to set if you do not want name
  • NoTolerance: value to set if you do not want tolerance
  • NoRange: value to set if you do not want ranges
  • NoCxtMenu: value to set if you do not want contextual menus at all
  • NoCtxMenuEdit: value to set if you do not want the "Edit..." contextual menu
  • NoJournaling : value to set if you do not want journaling of parameter modification
  • NoMeasure: value to set if you don't want the Measure contextual menu
  • DTConfigFirstOutParameter: value to set when editing a design table configuration, shows the first associated parameter
  • RelationButtonDisabled: value to set if the parameter has a relation, the button appears but is disable
  • WithUnsetMenu: value to set if you want, in contextual menu, the capability to unset the parameter value.
Currently, only one option can be selected by component. To define the number of lines,modify the attribute NbLines available from the Layout Design and Knowledge Items sections.
Note: The EditedParameter parameter can be specified by several ways:
  • as the result of a BindParameter option
  • it can be computed via EKL script. For instance, like the following script which could be launched at the initialization of the associated DialogBox
    let prod_root(VPMReference)
    prod_root=GetEditorRoots("VPMReference").GetItem(1)
    let rep(VPMRepReference)
    rep = prod_root.Find("VPMRepReference", "", True)
    let advParamSet(AdvisorParameterSet)
    advParamSet = rep.Find("AdvisorParameterSet", "", True)
    let vp(ValuePointer)
    vp = advParamSet.GetAttributeValuePointer("String.2")
    ParameterEditor1\EditedParameter=vp
    

Events

The following table describes the Events of Parameter Editor

Events on Parameter Editor Description
Parameter Modified Add an action to perform each time the parameter defined via the EditedParameter attribute is modified :
  1. Click the Events tab and click ParameterModified
  2. Select knowledge action and click OK.
  3. Enter action script.
  4. Click OK and save.
  5. Deploy and launch your app.