Skip to content

Commit

Permalink
Merge branch 'branch-ug-updates' of https://github.com/AY2223S2-CS210…
Browse files Browse the repository at this point in the history
…3-W17-1/tp into branch-ug-updates
  • Loading branch information
gwynethguo committed Apr 9, 2023
2 parents f0dc7cd + c00587b commit 7ce3bdc
Showing 1 changed file with 36 additions and 12 deletions.
48 changes: 36 additions & 12 deletions docs/diagrams/UiClassDiagram.puml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,16 @@ Class "{abstract}\nUiPart" as UiPart
Class UiManager
Class MainWindow
Class HelpWindow
Class ExportProgressWindow
Class ExportWindow
Class ImportWindow
Class ResultDisplay
Class PersonListPanel
Class PersonCard
Class StudentListPanel
Class StudentCard
Class TaskListPanel
Class TaskCard
Class ScoreListPanel
Class ScoreCard
Class StatusBarFooter
Class CommandBox
}
Expand All @@ -30,32 +37,49 @@ HiddenOutside ..> Ui

UiManager .left.|> Ui
UiManager -down-> "1" MainWindow
MainWindow *-down-> "1" CommandBox
MainWindow *-down-> "1" CommandBox
MainWindow *-down-> "1" ResultDisplay
MainWindow *-down-> "1" PersonListPanel
MainWindow *-down-> "1" StudentListPanel
MainWindow *-down-> "1" TaskListPanel
MainWindow *-down-> "1" ScoreListPanel
MainWindow *-down-> "1" StatusBarFooter
MainWindow --> "0..1" HelpWindow
MainWindow --> "0..1" ExportProgressWindow
MainWindow --> "0..1" ExportWindow
MainWindow --> "0..1" ImportWindow

PersonListPanel -down-> "*" PersonCard
StudentListPanel -down-> "*" StudentCard
TaskListPanel -down-> "*" TaskCard
ScoreListPanel -down-> "*" ScoreCard

MainWindow -left-|> UiPart

ResultDisplay --|> UiPart
CommandBox --|> UiPart
PersonListPanel --|> UiPart
PersonCard --|> UiPart
StudentListPanel --|> UiPart
StudentCard --|> UiPart
TaskListPanel --|> UiPart
TaskCard --|> UiPart
ScoreListPanel --|> UiPart
ScoreCard --|> UiPart
StatusBarFooter --|> UiPart
HelpWindow --|> UiPart

PersonCard ..> Model
StudentCard ..> Model
TaskCard ..> Model
ScoreCard ..> Model
UiManager -right-> Logic
MainWindow -left-> Logic

PersonListPanel -[hidden]left- HelpWindow
HelpWindow -[hidden]left- CommandBox
ScoreListPanel -[hidden]left- TaskListPanel
TaskListPanel -[hidden]left- StudentListPanel
StudentListPanel -[hidden]left- HelpWindow
HelpWindow -[hidden]left- ImportWindow
ImportWindow -[hidden]left- ExportWindow
ExportWindow -[hidden]left- ExportProgressWindow
ExportProgressWindow -[hidden]left- CommandBox
CommandBox -[hidden]left- ResultDisplay
ResultDisplay -[hidden]left- StatusBarFooter

MainWindow -[hidden]-|> UiPart
@enduml

@enduml

0 comments on commit 7ce3bdc

Please sign in to comment.