Quintiq file version 2.0
#parent: TabPage1/CalendarEditor
Response OnClick () inherited id:Response_TabPage1_menuEditInterval_OnClick
{
  #keys: '[558.1.836944]'
  BaseType: 'Response_TabPage1_menuEditInterval_OnClick'
  Body:
  [*
    // Overridden: Edit a calendar event
    participation := selection.astype( LibCal_ExplicitTimeInterval ).Participation();
    
    LibCal_GlobalState.EditEventOrSubscription( this, participation );
  *]
  DefinitionID: 'Responsedef_TabPage1_CalendarEditor_Menu_OnClick'
  Initiator: 'menuEditInterval'
  Precondition:
  [*
    retVal := selection.istype( LibCal_ExplicitTimeInterval );
    if( retVal = true )
    {
      participation := selection.astype( LibCal_ExplicitTimeInterval ).Participation();
      retVal := LibCal_GlobalState.CheckIsEvent( participation );
    }
    return retVal;
  *]
}
