Quintiq file version 2.0
#root
#parent: LibMacroPlannerTCUI
OrphanComponent ScenarioManager_FormKPIMatrix
{
  #keys: '[110880.6.354083447]'
  BaseType: 'Form'
  GBLayout
  {
    Type: 'internal[GBLayoutDefinition]'
    Columns:
    [
      GBFlow.Column { grow: 128 id: 3 parent: 0 }
    ]
    Elements:
    [
      GBElement
      {
        Component => MatrixEditorFinancialKPI
        Position { startcolumn: 3 startrow: 4 endcolumn: 3 endrow: 4 }
      }
    ]
    Gaps: [ left: 0 right: 0 top: 0 bottom: 0 inner: 5 ]
    Rows:
    [
      GBFlow.Row { grow: 128 id: 4 parent: 0 }
    ]
  }
  Children:
  [
    Component MatrixEditorFinancialKPI
    {
      #keys: '[110880.6.462435463]'
      BaseType: 'MatrixEditor'
      GBLayout
      {
        Type: 'internal[GBLayoutDefinition]'
        Gaps: [ left: 5 right: 5 top: 5 bottom: 5 inner: 5 ]
      }
      Children:
      [
        Component menuMatrixEditor1
        {
          #keys: '[110880.6.462435464]'
          BaseType: 'popupMatrixEditor'
          Properties:
          [
            PosX: 40
            PosY: 110
          ]
        }
        Component GUIDataExtractor1
        {
          #keys: '[110880.6.462435471]'
          BaseType: 'GUIDataExtractor'
          Properties:
          [
            Component: 'DataHolderFocusedScenario'
            DataType: 'structured[Scenario]'
            PosX: 5
            PosY: 30
            Transformation: 'Elements.KPIValue'
          ]
        }
        Component MatrixEditorRows
        {
          #keys: '[110880.6.462435469]'
          BaseType: 'GUIScaleView'
          Children:
          [
            Component GUIDataExtractor2
            {
              #keys: '[110880.6.462435470]'
              BaseType: 'GUIDataExtractor'
              Properties:
              [
                DataSet: 'ScenarioManager'
                DataType: 'ScenarioManager'
                FixedFilter: 'object.KPISetting().IsShown()'
                PosX: 5
                PosY: 30
                Transformation: 'KPI'
              ]
            }
          ]
          Properties:
          [
            PosX: 5
            PosY: 70
            SortCriteria: 'DisplayIndex'
          ]
        }
        Component RowViewContextMenu1
        {
          #keys: '[110880.6.462435468]'
          BaseType: 'popupScaleView'
          Children:
          [
            Component PopupParent id:PopupParent_1
            {
              #keys: '[107036.0.337329115]'
              BaseType: 'PopupParent'
              IsDerived: true
              Children:
              [
                Component MenuSubtotal
                {
                  #keys: '[107036.0.2002902351]'
                  BaseType: 'MenuSubtotal'
                  IsDerived: true
                  Properties:
                  [
                    ModeledStringList ChildOrdering
                    {
                      c: MenuCount
                      c: MenuSum
                      c: MenuAverage
                      c: MenuMin
                      c: MenuMax
                      c: MenuStdDev
                      c: Menu_1
                      c: MenuRemoveSubtotal
                    }
                  ]
                }
              ]
            }
          ]
          Properties:
          [
            PosX: 40
            PosY: 140
          ]
        }
        Component MatrixEditorColumns
        {
          #keys: '[110880.6.462435466]'
          BaseType: 'GUIScaleView'
          Children:
          [
            Component GUIDataExtractor4
            {
              #keys: '[110880.6.462435467]'
              BaseType: 'GUIDataExtractor'
              Properties:
              [
                Component: 'DataHolderFocusedScenario'
                DataType: 'structured[Scenario]'
                PosX: 5
                PosY: 30
                Transformation: 'Elements'
              ]
            }
          ]
          Properties:
          [
            PosX: 40
            PosY: 70
            SortCriteria: 'Name'
          ]
        }
        Component ColumnViewContextMenu1
        {
          #keys: '[110880.6.462435465]'
          BaseType: 'popupScaleView'
          Children:
          [
            Component PopupParent id:PopupParent_2
            {
              #keys: '[107036.0.337329115]'
              BaseType: 'PopupParent'
              IsDerived: true
              Children:
              [
                Component MenuSort id:MenuSort_1 { #keys: '[107036.0.337333420]' BaseType: 'MenuSort' IsDerived: true }
                Component MenuSubtotal id:MenuSubtotal_1
                {
                  #keys: '[107036.0.2002902351]'
                  BaseType: 'MenuSubtotal'
                  IsDerived: true
                  Children:
                  [
                    Component MenuCount id:MenuCount_1 { #keys: '[107036.0.2002903591]' BaseType: 'MenuCount' IsDerived: true }
                    Component MenuSum id:MenuSum_1 { #keys: '[107036.0.2002904543]' BaseType: 'MenuSum' IsDerived: true }
                    Component MenuAverage id:MenuAverage_1 { #keys: '[107036.0.2002905513]' BaseType: 'MenuAverage' IsDerived: true }
                    Component MenuMin id:MenuMin_1 { #keys: '[107036.0.2002906456]' BaseType: 'MenuMin' IsDerived: true }
                    Component MenuMax id:MenuMax_1 { #keys: '[107036.0.2002907419]' BaseType: 'MenuMax' IsDerived: true }
                    Component MenuStdDev id:MenuStdDev_1 { #keys: '[107036.0.2002908342]' BaseType: 'MenuStdDev' IsDerived: true }
                    Component MenuRemoveSubtotal id:MenuRemoveSubtotal_1 { #keys: '[107036.0.2004963099]' BaseType: 'MenuRemoveSubtotal' IsDerived: true }
                  ]
                  Properties:
                  [
                    ModeledStringList ChildOrdering
                    {
                      c: MenuCount_1
                      c: MenuSum_1
                      c: MenuAverage_1
                      c: MenuMin_1
                      c: MenuMax_1
                      c: MenuStdDev_1
                      c: Menu_2
                      c: MenuRemoveSubtotal_1
                    }
                  ]
                }
              ]
              Properties:
              [
                ModeledStringList ChildOrdering
                {
                  c: MenuSubtotal_1
                  c: MenuSort_1
                }
              ]
            }
          ]
        }
        Component UserConfigurableInformationKPIValue
        {
          #keys: '[110880.6.462435472]'
          BaseType: 'UserConfigurableInformation'
          Properties:
          [
            Identification: 'KPIValue'
            ObjectTextColor: 'Black'
            ObjectType: 'KPIValue'
            PosX: 145
            PosY: 67
            TooltipText: 'VALUE( object.KPI().DescriptionUOM() )'
          ]
        }
        Component AttributeContextMenu
        {
          #keys: '[138546.0.251138232]'
          BaseType: 'popupMatrixEditorAttributeHeader'
          Children:
          [
            Component PopupParent id:PopupParent_3
            {
              #keys: '[124988.0.211591097]'
              BaseType: 'PopupParent'
              IsDerived: true
              Children:
              [
                Component MenuSUbtotal
                {
                  #keys: '[124988.0.211593204]'
                  BaseType: 'MenuSUbtotal'
                  IsDerived: true
                  Children:
                  [
                    Component MenuRow
                    {
                      #keys: '[124988.0.211593332]'
                      BaseType: 'MenuRow'
                      IsDerived: true
                      Children:
                      [
                        Component MenuCount id:MenuCount_2 { #keys: '[124988.0.211594406]' BaseType: 'MenuCount' IsDerived: true }
                        Component MenuSum id:MenuSum_2 { #keys: '[124988.0.211595117]' BaseType: 'MenuSum' IsDerived: true }
                        Component MenuAverage id:MenuAverage_2 { #keys: '[124988.0.211595592]' BaseType: 'MenuAverage' IsDerived: true }
                        Component MenuStdDev id:MenuStdDev_2 { #keys: '[124988.0.211598314]' BaseType: 'MenuStdDev' IsDerived: true }
                        Component MenuRemoveSubtotal id:MenuRemoveSubtotal_2 { #keys: '[124988.0.211598781]' BaseType: 'MenuRemoveSubtotal' IsDerived: true }
                      ]
                      Properties:
                      [
                        ModeledStringList ChildOrdering
                        {
                          c: MenuSum_2
                          c: MenuCount_2
                          c: MenuMAx
                          c: MenuAverage_2
                          c: MenuMIn
                          c: MenuStdDev_2
                          c: menuSeparator_1
                          c: MenuRemoveSubtotal_2
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
      Properties:
      [
        AllowUserAttributeChange: true
        AttributeContextMenu: 'AttributeContextMenu'
        Attributes: 'DisplayValue'
        Border: true
        ColumnHeaderContextMenu: 'ColumnViewContextMenu1'
        ColumnHeaderPath: 'Name'
        ColumnView: 'MatrixEditorColumns'
        ColumnViewRelation: 'Scenario'
        ContextMenu: 'menuMatrixEditor1'
        DoubleBuffering: false
        Editable: false
        RowHeaderContextMenu: 'RowViewContextMenu1'
        RowHeaderPath: 'Name'
        RowView: 'MatrixEditorRows'
        RowViewRelation: 'KPI'
        ModeledStringList ChildOrdering
        {
          c: menuMatrixEditor1
          c: GUIDataExtractor1
          c: MatrixEditorRows
          c: RowViewContextMenu1
          c: MatrixEditorColumns
          c: ColumnViewContextMenu1
          c: UserConfigurableInformationKPIValue
          c: AttributeContextMenu
        }
      ]
      ResponseDefinitions:
      [
        DelegatedResponseDefinition OnClick id:Responsedef_ScenarioManager_FormKPIMatrix_MatrixEditorFinancialKPI_Menu_OnClick
        {
          #keys: '[110880.6.98425023]'
          Initiator: 'Menu'
          IsInherited: false
          ResponseType: 'OnClick'
          Arguments:
          [
            ResponseDefinitionArgument cell
            {
              #keys: '[110880.6.98425024]'
              Binding: 'this.Selection()'
            }
          ]
        }
        DelegatedResponseDefinition OnClick id:Responsedef_ScenarioManager_FormKPIMatrix_MatrixEditorFinancialKPI_Menu_OnClick_1
        {
          #keys: '[110880.6.98425052]'
          Initiator: 'Menu'
          IsInherited: false
          ResponseType: 'OnClick'
          Arguments:
          [
            ResponseDefinitionArgument object
            {
              #keys: '[110880.6.98425053]'
              Binding: 'this.SelectionObjects()'
            }
          ]
        }
      ]
    }
  ]
  Properties:
  [
    Height: 488
    HighlightRuleGroup: 'None'
    Image: 'TABLE'
    IncludeInView: true
    InitialPlacement: 'workspace'
    Title: 'KPI matrix'
    Width: 1431
  ]
}
