Quintiq file version 2.0
#parent: CustomDrawComponent
Response OnClick (
  structured[Object] selection
) id:Response_CustomDrawComponent_MenuMoveUp_OnClick
{
  #keys: '[110880.3.1025206301]'
  Body:
  [*
    // Move node up
    // For ease of use, not binding the selection to nodes as
    // there may be cases where background, edges are also selected
    Node::MoveUp( DataHolderHighlight.Data() );
    
    // Toggle on value holder to indicate changes
    ApplicationLibMacroPlanner.SetSupplyChainOverviewWarning();
  *]
  DefinitionID => /CustomDrawComponent/Responsedef_CustomDrawComponent_Menu_OnClick
  Initiator: 'MenuMoveUp'
  Precondition:
  [*
    return ViewBase::CanMoveNodes( feedback, DataHolderHighlight.Data() );
  *]
  UserRequiresReadWrite: true
}
