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 remote-tracking branch 'upstream/master'
- Loading branch information
Showing
56 changed files
with
1,299 additions
and
1,106 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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 was deleted.
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
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,51 @@ | ||
@startuml | ||
!include style.puml | ||
skinparam ArrowFontStyle plain | ||
|
||
box Logic LOGIC_COLOR_T1 | ||
participant "d:DeleteTaskCommand" as DeleteTaskCommand LOGIC_COLOR | ||
participant ":CommandResult" as CommandResult LOGIC_COLOR | ||
end box | ||
|
||
box Model MODEL_COLOR_T1 | ||
participant ":ModelManager" as ModelManagerStatic MODEL_COLOR | ||
participant "opr:TaskOperation" as TaskOperation MODEL_COLOR | ||
end box | ||
|
||
mainframe **sd** Execution of DeleteTaskCommand | ||
|
||
activate DeleteTaskCommand | ||
|
||
DeleteTaskCommand -> ModelManagerStatic : taskOperation(displayPath) | ||
activate ModelManagerStatic | ||
|
||
create TaskOperation | ||
ModelManagerStatic -> TaskOperation | ||
activate TaskOperation | ||
|
||
TaskOperation --> ModelManagerStatic : opr | ||
deactivate TaskOperation | ||
|
||
ModelManagerStatic --> DeleteTaskCommand :opr | ||
deactivate ModelManagerStatic | ||
|
||
DeleteTaskCommand -> TaskOperation : opr.deleteTask(1) | ||
activate TaskOperation | ||
|
||
TaskOperation --> DeleteTaskCommand | ||
|
||
destroy TaskOperation | ||
|
||
DeleteTaskCommand -> ModelManagerStatic : updateList() | ||
activate ModelManagerStatic | ||
|
||
ModelManagerStatic --> DeleteTaskCommand | ||
deactivate ModelManagerStatic | ||
|
||
create CommandResult | ||
DeleteTaskCommand -> CommandResult | ||
activate CommandResult | ||
|
||
CommandResult --> DeleteTaskCommand : result | ||
deactivate CommandResult | ||
@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
Oops, something went wrong.