Quintiq file version 2.0
#parent: CustomDrawComponent
Response OnClick () id:Response_CustomDrawComponent_MenuShowAllUnits_OnClick
{
  #keys: '[110880.3.982385148]'
  Body:
  [*
    // Show all unit nodes
    DataHolderView.Data().ShowOrHideUnitNodes( true, DataHolderFocusedUnit.Data() );
    
    // Toggle on value holder to indicate changes
    ApplicationLibMacroPlanner.SetSupplyChainOverviewWarning();
  *]
  DefinitionID => /CustomDrawComponent/Responsedef_CustomDrawComponent_Menu_OnClick
  Initiator: 'MenuShowAllUnits'
  Precondition:
  [*
    return MacroPlan::HasMacroPlan( MacroPlan, feedback )
           and SupplyChainView::CanShowOrHideNodes( feedback, DataHolderView.Data(), DataHolderFocusedSP.Data() );
  *]
  UserRequiresReadWrite: true
}
