Quintiq file version 2.0
#parent: ListEntities
Response OnClick (
  structured[Entity] selection
) id:Response_ListEntities_MenuExcludeEntities_OnClick
{
  #keys: '[146140.0.1718773492]'
  Body:
  [*
    // Exclude the entity
    Dialog.IncludeExcludeEntity( selection, false );
  *]
  CanBindMultiple: false
  DefinitionID => /ListEntities/Responsedef_ListEntities_Menu_OnClick
  Initiator: 'MenuExcludeEntities'
  Precondition:
  [*
    return Dialog.Data().CanIncludeExcludeEntity( feedback, selection, OptimizerPuzzleBase::StatusIcon_Uncheck() );
  *]
}
