forked from nus-cs2103-AY1920S1/addressbook-level3
-
Notifications
You must be signed in to change notification settings - Fork 2
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
3 changed files
with
61 additions
and
4 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,43 @@ | ||
@startuml | ||
!include style.puml | ||
|
||
box Logic LOGIC_COLOR_T1 | ||
participant ":UI" as UserInterface LOGIC_COLOR | ||
participant ":CommandLogicManager" as CommandLogicManager LOGIC_COLOR | ||
participant ":CommandParser" as CommandParser LOGIC_COLOR | ||
participant "c:Command" as Command LOGIC_COLOR | ||
end box | ||
|
||
[-> UserInterface : "submit" | ||
activate UserInterface | ||
|
||
UserInterface -> CommandLogicManager : executeCommand(submit) | ||
activate CommandLogicManager | ||
|
||
CommandLogicManager -> CommandParser : parseCommandText(submit) | ||
activate CommandParser | ||
|
||
create Command | ||
CommandParser -> Command | ||
activate Command | ||
|
||
Command --> CommandParser | ||
deactivate Command | ||
|
||
CommandParser --> CommandLogicManager : c | ||
deactivate AddressBookParser | ||
|
||
CommandLogicManager -> Command : execute() | ||
activate Command | ||
|
||
Command --> CommandLogicManager : result | ||
deactivate Command | ||
Command -[hidden]-> CommandLogicManager : result | ||
destroy Command | ||
|
||
CommandLogicManager --> UserInterface | ||
deactivate CommandLogicManager | ||
|
||
[<-- UserInterface : display result | ||
deactivate UserInterface | ||
@enduml |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.