Quintiq file version 2.0
#parent: dpNavigationPanel/btnSnap
Response OnClick () inherited id:Response_dpNavigationPanel_btnSnap_OnClick
{
  #keys: '[10710.0.139509484]'
  BaseType: 'Response_dpNavigationToolbar_btnSnap_OnClick'
  Body:
  [*
    start := SWF_WorkflowDataset.GlobalParameter().CurrentDate(); 
    end := maxselect( SWF_WorkflowDataset, WorkflowDefinition.StepDefinition, stepdef, true, stepdef.End() );
    Parent.Data().Show( start.DateTime(), end.End().DateTime() )
  *]
  DefinitionID: 'Responsedef_GUIButtonBase_OnClick'
  Precondition:
  [*
    return SWF_WorkflowDataset::HasWorkflowDataset( feedback, SWF_WorkflowDataset )
           and SWF_WorkflowDataset.WorkflowDefinition().StepDefinition( relsize ) > 0;
  *]
}
