Quintiq file version 2.0
#parent: CustomDrawComponentRoutingConfigurator/CustomDrawDataLayerOperationLinkEdgeRCV
Response OnClickObject (
  OperationLinkEdge object
) id:Response_CustomDrawComponentRoutingConfigurator_CustomDrawDataLayerOperationLinkEdgeRCV_OnClickObject
{
  #keys: '[124808.1.383225312]'
  Body:
  [*
    // Highlight the operation link edge
    data := DataHolderHighlightOperationInputOutputNode.Data();
    oio := object.OperationInput();
    index := data.Find( oio );
    found := index >= 0;
    
    if( action.IsControl() )
    {
      if( found ) // Delete object
      {
        data.Delete( index );
      }
      else // Add object
      {
       data.Add( oio );
      }
    }
    else // Flush all objects
    {
      data.Flush();
      data.Add( oio );
    }
  *]
  CanBindMultiple: false
  DefinitionID: 'Responsedef_CustomDrawBaseDataLayer_OnClickObject'
}
