Quintiq file version 2.0
#parent: CustomDrawComponent
Response OnClick (
  ProductNode selection
) id:Response_CustomDrawComponent_MenuEditNode_OnClick_252
{
  #keys: '[110880.3.1006782762]'
  Body:
  [*
    // Edit product node
    dlg := construct ( DialogCreateEditProduct );
    products := construct( Product_MPs );
    products.Add( selection.Product_MP() );
    
    dlg.EditProduct( products, this );
  *]
  CanBindMultiple: false
  DefinitionID => /CustomDrawComponent/Responsedef_CustomDrawComponent_Menu_OnClick
  Initiator: 'MenuEditNode'
  UserRequiresReadWrite: true
}
