-
Notifications
You must be signed in to change notification settings - Fork 580
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #108 from jamz903/jamie-week10
Update DG with UI Section & Add assertions
- Loading branch information
Showing
7 changed files
with
138 additions
and
0 deletions.
There are no files selected for viewing
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,61 @@ | ||
@startuml | ||
!include ../style.puml | ||
!include ../style.puml | ||
skinparam arrowThickness 1.1 | ||
skinparam arrowColor MODEL_COLOR | ||
skinparam classBackgroundColor MODEL_COLOR | ||
|
||
package UI <<Rectangle>>{ | ||
Class "<<interface>>\nUi" as Ui | ||
Class "{abstract}\nUiPart" as UiPart | ||
Class UiManager | ||
Class MainWindow | ||
Class HelpWindow | ||
Class ResultDisplay | ||
Class TransactionListPanel | ||
Class TransactionCard | ||
Class StatusBarFooter | ||
Class CommandBox | ||
} | ||
|
||
package Model <<Rectangle>> { | ||
Class HiddenModel #FFFFFF | ||
} | ||
|
||
package Logic <<Rectangle>> { | ||
Class HiddenLogic #FFFFFF | ||
} | ||
|
||
Class HiddenOutside #FFFFFF | ||
HiddenOutside ..> Ui | ||
|
||
UiManager .left.|> Ui | ||
UiManager -down-> "1" MainWindow | ||
MainWindow *-down-> "1" CommandBox | ||
MainWindow *-down-> "1" ResultDisplay | ||
MainWindow *-down-> "1" TransactionListPanel | ||
MainWindow *-down-> "1" StatusBarFooter | ||
MainWindow --> "0..1" HelpWindow | ||
|
||
TransactionListPanel -down-> "*" TransactionCard | ||
|
||
MainWindow -left-|> UiPart | ||
|
||
ResultDisplay --|> UiPart | ||
CommandBox --|> UiPart | ||
TransactionListPanel --|> UiPart | ||
TransactionCard --|> UiPart | ||
StatusBarFooter --|> UiPart | ||
HelpWindow --|> UiPart | ||
|
||
TransactionCard ..> Model | ||
UiManager -right-> Logic | ||
MainWindow -left-> Logic | ||
|
||
TransactionListPanel -[hidden]left- HelpWindow | ||
HelpWindow -[hidden]left- CommandBox | ||
CommandBox -[hidden]left- ResultDisplay | ||
ResultDisplay -[hidden]left- StatusBarFooter | ||
|
||
MainWindow -[hidden]-|> UiPart | ||
@enduml |
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
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