Skip to content

Commit e3643c5

Browse files
authored
Merge pull request #180 from AY2021S1-CS2103-F10-2/branch-Update-DevGuide
Update Ui image
2 parents 8f60204 + 5d63e58 commit e3643c5

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ dependencies {
7070
}
7171

7272
shadowJar {
73-
archiveName = 'ModDuke.jar'
73+
archiveName = 'Modduke.jar'
7474
}
7575

7676
defaultTasks 'clean', 'test'

docs/DeveloperGuide.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -560,6 +560,7 @@ that will be returned by each parser respectively.
560560
given by their parsers using `model#hasPersonName`. If there does not exist a Person, then a `CommandException` is thrown.
561561
Otherwise, the Person with the name is obtained from the AddressBook. This Person is then modified by each command accordingly.
562562
* `AddLabelCommand` - Adds tags to the Person based on the `LabelPersonDescriptor` given by `AddLabelCommandParser`
563+
563564
Adding Tags Code Snippet :
564565
```
565566
Set<Tag> updatedTags = new HashSet<>(personToLabel.getTags());
@@ -594,13 +595,15 @@ Once they have obtained the modified Person, they replace the original Person wi
594595
`MeetingBook` and `ModuleBook`.
595596

596597
Updating Modduke Code Snippet :
598+
597599
```
598600
model.setPerson(personToLabel, labelledPerson);
599601
600602
model.updatePersonInMeetingBook(personToLabel, labelledPerson);
601603
602604
model.updatePersonInModuleBook(personToLabel, labelledPerson);
603605
```
606+
604607
The above code snippet updates the Person in each of the three books.
605608

606609
#### Sequence Diagram
@@ -642,6 +645,7 @@ selected meeting field in the `ModelManager` before creating a `CommandResult` w
642645

643646
When the Logic signals that an update is required, the following update method in `MainWindow` is invoked to update the
644647
selected meeting user interface:
648+
645649
```
646650
public void update() {
647651
logger.info("UI update triggered");

docs/images/Ui.png

241 KB
Loading

0 commit comments

Comments
 (0)