_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ContextMenuCapacities_MenuCapacitiesUnavailableEvent_O.def
对比新文件 @@ -0,0 +1,16 @@ Quintiq file version 2.0 #parent: ContextMenuCapacities/MenuCapacitiesUnavailableEvent Response OnClick () id:Response_MacroPlanner_ContextMenuCapacities_MenuCapacitiesUnavailableEvent_OnClick { #keys: '[415136.0.667550585]' CanBindMultiple: false DefinitionID: 'Responsedef_WebMenu_OnClick' QuillAction { Body: [* ApplicationScope.ViewManager().ResetUserViewById( "Calendar_unavailable_event_view", true); *] GroupServerCalls: false } } _Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/_ROOT_Component_ApplicationMacroPlanner.def
@@ -174,5 +174,15 @@ Taborder: 51 ] } Component dhCalendarUse { #keys: '[415136.0.667561067]' BaseType: 'WebDataHolder' Databinding: 'LibCal_Calendar' Properties: [ Taborder: 56 ] } ] } _Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_PanelCalendarEventTypes.def
@@ -5,6 +5,8 @@ BaseType: 'WebPanel' Properties: [ FixedSize: true MinimumColumns: 39 Taborder: 1 ] } _Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_PanelCalendarLineList.def
文件已删除 _Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_PanelCalendarSearchList.def
@@ -5,11 +5,12 @@ BaseType: 'WebPanel' Children: [ #child: PanelCalendarLineList #child: PanelCalendarEventTypes #child: pnlSubscribers_549 ] Properties: [ FixedSize: true Orientation: 'horizontal' Taborder: 0 ] _Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_PanelDate.def
对比新文件 @@ -0,0 +1,35 @@ Quintiq file version 2.0 Component PanelDate { #keys: '[415136.0.668311160]' BaseType: 'WebPanel' Children: [ Component DateSelectorStartTime id:DateSelectorStartTime_806 { #keys: '[415136.0.668311203]' BaseType: 'WebDateSelector' Properties: [ Label: 'Start time' Taborder: 0 ] } Component DateSelectorEndTime id:DateSelectorEndTime_819 { #keys: '[415136.0.668311223]' BaseType: 'WebDateSelector' Properties: [ Label: 'End time' Taborder: 1 ] } ] Properties: [ FixedSize: true Orientation: 'horizontal' Taborder: 0 ] } _Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_PanelExport.def
对比新文件 @@ -0,0 +1,25 @@ Quintiq file version 2.0 Component PanelExport { #keys: '[415136.0.668311240]' BaseType: 'WebPanel' Children: [ Component ButtonHeader id:ButtonHeader_763 { #keys: '[415136.0.668311275]' BaseType: 'WebButton' Properties: [ Image: 'EXPORT1' Taborder: 0 ] } ] Properties: [ FixedSize: true Orientation: 'horizontal' Taborder: 2 ] } _Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_PanelHeader.def
@@ -3,8 +3,15 @@ { #keys: '[415136.0.658772785]' BaseType: 'WebPanel' Children: [ #child: PanelPeriods #child: PanelDate #child: PanelExport ] Properties: [ FixedSize: true Orientation: 'horizontal' Taborder: 0 ] _Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_PanelPeriods.def
对比新文件 @@ -0,0 +1,28 @@ Quintiq file version 2.0 Component PanelPeriods { #keys: '[415136.0.667550798]' BaseType: 'WebPanel' Children: [ Component RadioButtonGroupUseForPlanning { #keys: '[415136.0.667550833]' BaseType: 'WebRadioButtonGroup' Properties: [ ButtonLabels: 'Day;Week;Month' ButtonValues: 'true;false' Orientation: 'horizontal' Taborder: 0 Title: 'Periods' Tooltip: '<html>Select if the periods are used for planning or merely for visualization.<br>The planning periods define the granularity at which planning is done.<br>In case of overlapping planning periods, the smallest ones are used.<br>The planning periods are shown in the period overview in blue.</html>' ] } ] Properties: [ Orientation: 'horizontal' Taborder: 1 ] } _Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_abpListSubscribers.def
对比新文件 @@ -0,0 +1,10 @@ Quintiq file version 2.0 Component abpListSubscribers { #keys: '[415136.0.666211731]' BaseType: 'listActionBarPage' Properties: [ Taborder: 2 ] } _Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_cmSubscribers.def
对比新文件 @@ -0,0 +1,24 @@ Quintiq file version 2.0 Component cmSubscribers { #keys: '[415136.0.666211729]' BaseType: 'listContextMenu' Children: [ Component mnDelete { #keys: '[415136.0.666211730]' BaseType: 'WebMenu' Properties: [ Image: 'DELETE' Taborder: 3 Title: 'Delete' ] } ] Properties: [ Taborder: 0 ] } _Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_lstSubscribers.def
对比新文件 @@ -0,0 +1,61 @@ Quintiq file version 2.0 Component lstSubscribers { #keys: '[415136.0.666211726]' BaseType: 'WebList' Children: [ Component deSubscribers { #keys: '[415136.0.666211727]' BaseType: 'WebDataExtractor' Properties: [ DataType: 'structured[LibCal_Calendar]' Source: 'dhPotentialSubscribers' Taborder: 0 Transformation: 'Elements' ] } Component dslSubscribers { #keys: '[415136.0.666211728]' BaseType: 'WebDataSetLevel' Children: [ #child: cmSubscribers ] Properties: [ Columns: 'CalendarID' ContextMenu: 'cmSubscribers' SortCriteria: 'CalendarID' Taborder: 1 ] } #child: abpListSubscribers ] Properties: [ SelectionCheckboxes: true Taborder: 4 ] ResponseDefinitions: [ DelegatedResponseDefinition OnClick id:Responsedef_lstSubscribers_WebMenu_OnClick { #keys: '[415136.0.666211718]' Initiator: 'WebMenu' IsInherited: false ResponseType: 'OnClick' Arguments: [ ResponseDefinitionArgument selection { #keys: '[3739.0.1873455]' Binding: 'this.Selection()' } ] } ] } _Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_pnlSubscribers#549.def
对比新文件 @@ -0,0 +1,60 @@ Quintiq file version 2.0 Component pnlSubscribers id:pnlSubscribers_549 { #keys: '[415136.0.666211724]' BaseType: 'WebPanel' Children: [ Component dhPotentialSubscribers { #keys: '[415136.0.666211725]' BaseType: 'WebDataHolder' Databinding: 'structured[LibCal_Calendar]*' Properties: [ Taborder: 0 ] } #child: lstSubscribers Component lblInfo { #keys: '[415136.0.666211732]' BaseType: 'WebLabel' Properties: [ ShowLabel: false Taborder: 3 Text: 'Calendars that are subscribing to this event.' ] } Component lblIsInitialized { #keys: '[415136.0.666211733]' BaseType: 'WebLabel' Properties: [ Taborder: 2 Text: 'false' Visible: false ] } Component dhSubscribers { #keys: '[415136.0.666211734]' BaseType: 'WebDataHolder' Databinding: 'structured[LibCal_Calendar]*' Properties: [ Taborder: 1 ] } ] Properties: [ Border: true FixedSize: true MinimumColumns: 39 Taborder: 0 Title: 'Subscribers' ] } _Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Method_InitializeSubscribers.def
对比新文件 @@ -0,0 +1,36 @@ Quintiq file version 2.0 #parent: #root Method InitializeSubscribers () id:Method_FormCalendarUnavailableEvent_InitializeSubscribers { #keys: '[415136.0.666291565]' Body: [* owner_i := dhCalendarUse.Data(); category_i := selectobject( owner_i,CalendarRegistry.EventCategory, category, category.Name() = 'Unavaliable' ); info( '-------------------------------', isnull( owner_i ), isnull( category_i ) ); sEvent := owner_i.Event( relshadow, EventID := [String]Key::NextPersistentKey(), // StartTimeOfDay := start_i.TimeOfDay( timezone ), // EndTimeOfDay := end_i .TimeOfDay( timezone ), EventCategory := category_i, IsDefault := owner_i.istype( LibCal_CommonCalendar ) ); sLeadPart := owner_i.Participation( relshadow, LibCal_LeadingParticipation, ParticipationID := [String]Key::NextPersistentKey() // ,StartDate := start_i.Date( timezone ), // EndDate := end_i .Date( timezone ) ); calendar := sLeadPart.Calendar(); potentialSubscribers := calendar.GetPotentialSubscribers(); // Remove the calendar of the initiator (cannot subscribe to self). initiator := sEvent.Calendar(); if( potentialSubscribers.Find( initiator ) >= 0 ) { potentialSubscribers.Remove( initiator ); } dhPotentialSubscribers.Data( &potentialSubscribers ); *] } _Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Response_OnCreated.def
对比新文件 @@ -0,0 +1,17 @@ Quintiq file version 2.0 #parent: #root Response OnCreated () id:Response_FormCalendarUnavailableEvent_OnCreated { #keys: '[415136.0.667561809]' CanBindMultiple: false DefinitionID: 'Responsedef_WebComponent_OnCreated' QuillAction { Body: [* this.InitializeSubscribers(); *] GroupServerCalls: false } } _Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Response_lstSubscribers_OnCheckedChanged.def
对比新文件 @@ -0,0 +1,20 @@ Quintiq file version 2.0 #parent: lstSubscribers Response OnCheckedChanged ( structured[LibCal_Calendar] checkeditems ) id:Response_lstSubscribers_OnCheckedChanged { #keys: '[415136.0.666211720]' CanBindMultiple: false DefinitionID: 'Responsedef_WebList_OnCheckedChanged' QuillAction { Body: [* subscribers := checkeditems.Copy(); dhSubscribers.Data( &subscribers ); *] GroupServerCalls: false } } _Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Response_lstSubscribers_OnSelectionChanged.def
对比新文件 @@ -0,0 +1,32 @@ Quintiq file version 2.0 #parent: lstSubscribers Response OnSelectionChanged ( LibCal_Calendar selection ) id:Response_lstSubscribers_OnSelectionChanged { #keys: '[415136.0.666211719]' CanBindMultiple: false DefinitionID: 'Responsedef_WebList_OnSelectionChanged' QuillAction { Body: [* // Initialize the list by setting the checkmark for the subscribing calendars when this has not been done before. // This should only be done when OnSelectionChanged is executed for the first time. //if( lblIsInitialized.Text() = "false" ) //{ // // Get the calendars of the subscriptions. // calendars := selectset( dhEvent.Data(), LeadingParticipation.Subscription.Calendar, calendar, true, true ).Unique(); // // traverse( calendars, Elements, subscriber ) // { // lstSubscribers.ExtendCheckByKey( subscriber.Key() ); // } // // // Register that the list has been initialized. // lblIsInitialized.Text( "true" ); //} *] GroupServerCalls: false } } _Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Response_lstSubscribers_mnDelete_OnClick.def
对比新文件 @@ -0,0 +1,26 @@ Quintiq file version 2.0 #parent: lstSubscribers Response OnClick ( structured[LibCal_Subscription] selection ) id:Response_lstSubscribers_mnDelete_OnClick { #keys: '[415136.0.666211722]' CanBindMultiple: false DefinitionID => /lstSubscribers/Responsedef_lstSubscribers_WebMenu_OnClick Initiator: 'mnDelete' QuillAction { Body: [* traverse( selection, Elements, e ){ leadingP := e.LeadingParticipation(); if( leadingP.Subscription( relsize ) > 0 ){ leadingP.Event().Delete(); leadingP.Delete(); } e.Delete(); } *] GroupServerCalls: false } } _Main/UI/MacroPlannerWebApp/Views/Calendar_unavailable_event_view.vw
对比新文件 @@ -0,0 +1,83 @@ Quintiq file version 2.0 { viewcontents { forms { form_FormCalendarUnavailableEvent { title: 'QMacroPlanner::FormCalendarUnavailableEvent' shown: true componentID: 'QMacroPlanner::FormCalendarUnavailableEvent' layout { mode: 'open' rowPosition: 1 rowSpan: 16 columnPosition: 1 columnSpan: 12 } components { FormCalendarUnavailableEvent_PanelCalendarUnavailableEvent { sizeRatio: 1 } FormCalendarUnavailableEvent_PanelCalendarSearchList { sizeRatio: 1 } FormCalendarUnavailableEvent_pnlSubscribers { sizeRatio: 1 } FormCalendarUnavailableEvent_lstSubscribers { } FormCalendarUnavailableEvent_dslSubscribers { groupDepth: -1 column_CalendarID { columnId: 'CalendarID' dataPath: 'CalendarID' dataType: 'string' index: 0 subtotals: '' width: 150 } } FormCalendarUnavailableEvent_PanelCalendarEventTypes { sizeRatio: 1 } FormCalendarUnavailableEvent_PanelCalendarUnavailableEventSearchList { sizeRatio: 1 } FormCalendarUnavailableEvent_PanelHeader { sizeRatio: 1 } FormCalendarUnavailableEvent_PanelList { sizeRatio: 1 } } } } userconfigurableinformation { } page: '' group: '' index: 13 image: 'CALENDAR_PREFERENCES' description: '' } formatversion: 2 id: 'Calendar_unavailable_event_view' name: 'Calendar unavailable event view' isglobal: false isroot: true }