Quintiq file version 2.0 
 | 
#parent: CustomDrawComponentRoutingConfigurator 
 | 
Response OnClick ( 
 | 
  structured[OperationInputPISPNode] selection 
 | 
) id:Response_CustomDrawComponentRoutingConfigurator_MenuDeleteAllPispNodeInRoutingInput_OnClick 
 | 
{ 
 | 
  #keys: '[136682.0.526202071]' 
 | 
  Body: 
 | 
  [* 
 | 
    //Delete all pispnode in routing for selected input 
 | 
    pispnodes := selectset( selection, Elements.PISPNodeInRouting, pisp, true ); 
 | 
    PISPNodeInRouting::Delete( pispnodes ); 
 | 
  *] 
 | 
  CanBindMultiple: false 
 | 
  DefinitionID => /CustomDrawComponentRoutingConfigurator/Responsedef_CustomDrawComponentRoutingConfigurator_Menu_OnClick 
 | 
  Initiator: 'MenuDeleteAllPispNodeInRoutingInput' 
 | 
  Precondition: 
 | 
  [* 
 | 
    return OperationInputOutputPISPNode::CanEditOrDeleteAll( selection, feedback ); 
 | 
  *] 
 | 
} 
 |