Quintiq file version 2.0
#parent: customdrawContextMenuSCO/MenuShowAllLaneLegs
Response OnClick () id:Response_customdrawContextMenuSCO_MenuShowAllLaneLegs_OnClick
{
  #keys: '[136682.0.1955949069]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebMenu_OnClick'
  GroupServerCalls: true
  Precondition:
  [*
    return MacroPlan::HasMacroPlan( DataHolderActiveScenario.Data(), feedback )
           and SupplyChainView::CanShowOrHideNodes( feedback, DataHolderViewBase.Data(), DataHolderFocusedStockingPoint.Data() );
  *]
  QuillAction
  {
    Body:
    [*
      //Show all lanelegs
      view := DataHolderSupplyChainView.Data()
      
      view.Update( view.SupplyChainBackground(),
                   view.FontSize(),
                   view.FontName(),
                   view.GridPointDistance(),
                   view.RelativeStockingPointSize(),
                   view.RelativeUnitHeight(),
                   view.RelativeUnitWidth(),
                   view.RelativeProductHeight(),
                   view.RelativeProductWidth(),
                   view.IsGridVisible(),
                   true,
                   view.IsUnitNodeLabelVisible(),
                   view.IsStockingPointNodeLabelVisible(),
                   view.ArrowColor(),
                   view.HasPersistentArrows(),
                   view.OffsetX(),
                   view.OffsetY() );
      Form.HideLanelegsFromClient( false );
    *]
  }
}
