forked from nus-cs2103-AY2324S1/tp
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into branch-Docs-UpdateDocumentation
- Loading branch information
Showing
24 changed files
with
326 additions
and
172 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
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,31 @@ | ||
@startuml | ||
!include style.puml | ||
skinparam ArrowFontStyle plain | ||
|
||
box Model MODEL_COLOR_T1 | ||
participant ":ModelManager" as ModelManager MODEL_COLOR | ||
participant ":ObservableList<Appointment>" as observableAppointments MODEL_COLOR | ||
end box | ||
|
||
[-> ModelManager: setPerson(personToEdit, editedPerson) | ||
activate ModelManager | ||
|
||
ModelManager -> ModelManager: setAppointmentList() | ||
activate ModelManager | ||
|
||
ModelManager -> observableAppointments: clear() | ||
activate observableAppointments | ||
observableAppointments --> ModelManager | ||
deactivate observableAppointments | ||
|
||
loop through filteredPersons | ||
ModelManager -> ModelManager: addToAppointmentListIfPresent(person) | ||
activate ModelManager | ||
|
||
deactivate ModelManager | ||
end loop | ||
|
||
deactivate ModelManager | ||
[<--ModelManager | ||
deactivate ModelManager | ||
@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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
@startuml | ||
!include style.puml | ||
skinparam ArrowFontStyle plain | ||
|
||
box Logic LOGIC_COLOR_T1 | ||
participant ":Logic" as Logic LOGIC_COLOR | ||
participant "command:FindCommand" as FindCommand LOGIC_COLOR | ||
participant "commandResult:CommandResult" as CommandResult LOGIC_COLOR | ||
end box | ||
|
||
box Model MODEL_COLOR_T1 | ||
participant "model:Model" as Model MODEL_COLOR | ||
end box | ||
|
||
[-> Logic : execute(command) | ||
activate Logic | ||
|
||
Logic -> FindCommand : execute(model) | ||
activate FindCommand | ||
|
||
FindCommand -> Model: updateFilteredPersonList(predicate) | ||
activate Model | ||
|
||
Model --> FindCommand: | ||
deactivate Model | ||
|
||
create CommandResult | ||
FindCommand -> CommandResult | ||
activate CommandResult | ||
|
||
CommandResult --> FindCommand | ||
deactivate CommandResult | ||
|
||
FindCommand --> Logic: commandResult | ||
deactivate FindCommand | ||
|
||
CommandResult -[hidden]-> Model | ||
destroy FindCommand | ||
|
||
[<--Logic : commandResult | ||
deactivate Logic | ||
@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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
@startuml | ||
skin rose | ||
skinparam ActivityFontSize 15 | ||
skinparam ArrowFontSize 12 | ||
start | ||
:User executes gather command; | ||
|
||
:User input is parsed; | ||
|
||
'Since the beta syntax does not support placing the condition outside the | ||
'diamond we place it as the true branch instead. | ||
|
||
switch () | ||
case([prefix == "t/"]) | ||
:Gathers all email addresses of | ||
clients with given tag; | ||
case([prefix == "fp/"]) | ||
:Gathers all email addresses of | ||
clients with given financial plan; | ||
case([else]) | ||
:Throws error message; | ||
endswitch | ||
stop | ||
@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
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
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.