-
Notifications
You must be signed in to change notification settings - Fork 434
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
38 changed files
with
363 additions
and
120 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
@startuml | ||
!include style.puml | ||
|
||
box Logic LOGIC_COLOR_T1 | ||
participant ":LogicManager" as LogicManager LOGIC_COLOR | ||
participant ":DukeDriverParser" as DukeDriverParser LOGIC_COLOR | ||
participant "t:TimetableCompleteCommand" as TimetableCompleteCommand LOGIC_COLOR | ||
end box | ||
|
||
box Model MODEL_COLOR_T1 | ||
participant ":Model" as Model MODEL_COLOR | ||
end box | ||
[-> LogicManager : execute("timetable_completed") | ||
activate LogicManager | ||
|
||
LogicManager -> DukeDriverParser : parseCommand("timetable_completed") | ||
activate DukeDriverParser | ||
|
||
create TimetableCompleteCommand | ||
DukeDriverParser -> TimetableCompleteCommand | ||
activate TimetableCompleteCommand | ||
|
||
TimetableCompleteCommand --> DukeDriverParser : t | ||
deactivate TimetableCompleteCommand | ||
|
||
DukeDriverParser --> LogicManager : t | ||
deactivate DukeDriverParser | ||
|
||
LogicManager -> TimetableCompleteCommand : execute() | ||
activate TimetableCompleteCommand | ||
TimetableCompleteCommand -> Model : updateSortedDeliveryJobList(new SortbyTimeAndEarn()) | ||
TimetableCompleteCommand -> Model : getCompletedDeliveryJobList() | ||
activate Model | ||
|
||
|
||
Model --> TimetableCompleteCommand | ||
deactivate Model | ||
|
||
TimetableCompleteCommand --> LogicManager : result | ||
deactivate TimetableCompleteCommand | ||
TimetableCompleteCommand -[hidden]-> LogicManager : result | ||
destroy TimetableCompleteCommand | ||
|
||
[<--LogicManager | ||
deactivate LogicManager | ||
@enduml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
@startuml | ||
!include style.puml | ||
|
||
box Logic LOGIC_COLOR_T1 | ||
participant ":LogicManager" as LogicManager LOGIC_COLOR | ||
participant ":DukeDriverParser" as DukeDriverParser LOGIC_COLOR | ||
participant "t:TimetableUnscheduleCommand" as TimetableUnscheduleCommand LOGIC_COLOR | ||
end box | ||
|
||
box Model MODEL_COLOR_T1 | ||
participant ":Model" as Model MODEL_COLOR | ||
end box | ||
[-> LogicManager : execute("timetable_unscheduled") | ||
activate LogicManager | ||
|
||
LogicManager -> DukeDriverParser : parseCommand("timetable_unscheduled") | ||
activate DukeDriverParser | ||
|
||
create TimetableUnscheduleCommand | ||
DukeDriverParser -> TimetableUnscheduleCommand | ||
activate TimetableUnscheduleCommand | ||
|
||
TimetableUnscheduleCommand --> DukeDriverParser : t | ||
deactivate TimetableUnscheduleCommand | ||
|
||
DukeDriverParser --> LogicManager : t | ||
deactivate DukeDriverParser | ||
|
||
LogicManager -> TimetableUnscheduleCommand : execute() | ||
activate TimetableUnscheduleCommand | ||
TimetableUnscheduleCommand -> Model : updateSortedDeliveryJobList(new SortbyTimeAndEarn()) | ||
TimetableUnscheduleCommand -> Model : getUnscheduledDeliveryJobList() | ||
activate Model | ||
|
||
|
||
Model --> TimetableUnscheduleCommand | ||
deactivate Model | ||
|
||
TimetableUnscheduleCommand --> LogicManager : result | ||
deactivate TimetableUnscheduleCommand | ||
TimetableUnscheduleCommand -[hidden]-> LogicManager : result | ||
destroy TimetableUnscheduleCommand | ||
|
||
[<--LogicManager | ||
deactivate LogicManager | ||
@enduml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
@startuml | ||
!include style.puml | ||
skinparam arrowThickness 1.1 | ||
skinparam arrowColor UI_COLOR_T4 | ||
skinparam classBackgroundColor UI_COLOR | ||
|
||
package UI <<Rectangle>>{ | ||
|
||
package TimetableWindow <<Rectangle>> { | ||
Class StatusBarFooter | ||
Class CommandBox | ||
Class ResultDisplay | ||
Class HelpWindow | ||
|
||
} | ||
package TimetableDetailPanel <<Rectangle>> { | ||
Class DayOfWeekPanel | ||
Class DayOfMonthPanel | ||
Class WeekJobListPanel | ||
Class DayJobListPanel | ||
Class DayDeliveryJobCard | ||
} | ||
|
||
|
||
} | ||
|
||
Class MainWindow | ||
MainWindow *-down-> "1" TimetableWindow | ||
|
||
HelpWindow -[hidden]down- CommandBox | ||
CommandBox -[hidden]down- ResultDisplay | ||
ResultDisplay -[hidden]down- StatusBarFooter | ||
|
||
TimetableWindow *-down-> "1" TimetableDetailPanel | ||
|
||
DayOfWeekPanel -[hidden]down- DayOfMonthPanel | ||
WeekJobListPanel -[hidden]left- DayOfWeekPanel | ||
WeekJobListPanel *-down-> "7" DayJobListPanel | ||
DayJobListPanel *-down-> "*" DayDeliveryJobCard | ||
|
||
|
||
@enduml |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.