You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/DeveloperGuide.md
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,9 @@ The ***Architecture Diagram*** given above explains the high-level design of the
27
27
28
28
</div>
29
29
30
-
**`Main`** has two classes called [`Main`](https://github.com/se-edu/addressbook-level3/tree/master/src/main/java/seedu/projectDescription/Main.java) and [`MainApp`](https://github.com/se-edu/addressbook-level3/tree/master/src/main/java/seedu/projectDescription/MainApp.java). It is responsible for,
30
+
**`Main`** has two classes called [`Main`](https://github.com/se-edu/addressbook-level3/tree/master/src/main/java
31
+
/seedu/address/Main.java) and [`MainApp`](https://github.com/se-edu/addressbook-level3/tree/master/src/main/java/seedu
32
+
/address/MainApp.java). It is responsible for,
31
33
* At app launch: Initializes the components in the correct sequence, and connects them up with each other.
32
34
* At shut down: Shuts down the components and invokes cleanup methods where necessary.
Copy file name to clipboardExpand all lines: docs/SettingUp.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ If you plan to use Intellij IDEA (highly recommended):
23
23
1.**Import the project as a Gradle project**: Follow the guide [_[se-edu/guides] IDEA: Importing a Gradle project_](https://se-education.org/guides/tutorials/intellijImportGradleProject.html) to import the project into IDEA.<br>
24
24
:exclamation: Note: Importing a Gradle project is slightly different from importing a normal Java project.
25
25
1.**Verify the setup**:
26
-
1. Run the `seedu.projectDescription.Main` and try a few commands.
26
+
1. Run the `seedu.address.Main` and try a few commands.
27
27
1.[Run the tests](Testing.md) to ensure they all pass.
Copy file name to clipboardExpand all lines: docs/tutorials/AddRemark.md
+14-7Lines changed: 14 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -19,16 +19,16 @@ Looking in the `logic.command` package, you will notice that each existing comma
19
19
the commands inherit from the abstract class `Command` which means that they must override `execute()`. Each `Command` returns an instance of `CommandResult` upon success and `CommandResult#feedbackToUser` is printed to the
20
20
`ResultDisplay`.
21
21
22
-
Let’s start by creating a new `RemarkCommand` class in the `src/main/java/seedu/projectDescription/logic/command` directory.
22
+
Let’s start by creating a new `RemarkCommand` class in the `src/main/java/seedu/address/logic/command` directory.
23
23
24
24
For now, let’s keep `RemarkCommand` as simple as possible and print some output. We accomplish that by returning a `CommandResult` with an accompanying message.
25
25
26
26
**`RemarkCommand.java`:**
27
27
28
28
```java
29
-
packageseedu.projectDescription.logic.commands;
29
+
packageseedu.address.logic.commands;
30
30
31
-
importseedu.projectDescription.model.Model;
31
+
importseedu.address.model.Model;
32
32
33
33
/**
34
34
* Changes the remark of an existing project in the main catalogue.
@@ -93,7 +93,8 @@ We start by modifying the constructor of `RemarkCommand` to accept an `Index` an
@@ -143,7 +144,9 @@ Your code should look something like [this](https://github.com/se-edu/addressboo
143
144
144
145
Now let’s move on to writing a parser that will extract the index and remark from the input provided by the user.
145
146
146
-
Create a `RemarkCommandParser` class in the `seedu.projectDescription.logic.parser` package. The class must extend the `Parser` interface.
147
+
Create a `RemarkCommandParser` class in the `seedu.address
148
+
.logic.parser` package. The class must extend the `Parser
149
+
` interface.
147
150
148
151

149
152
@@ -235,7 +238,9 @@ Now that we have all the information that we need, let’s lay the groundwork fo
235
238
236
239
### Add a new `Remark` class
237
240
238
-
Create a new `Remark` in `seedu.projectDescription.model.project`. Since a `Remark` is a field that is similar to `Address`, we can reuse a significant bit of code.
241
+
Create a new `Remark` in `seedu.address
242
+
.model.project`. Since a `Remark` is a field that is similar to `Address`, we can
243
+
reuse a significant bit of code.
239
244
240
245
A copy-paste and search-replace later, you should have something like
241
246
[this](https://github.com/se-edu/addressbook-level3/commit/4516e099699baa9e2d51801bd26f016d812dedcc#diff-af2f075d24dfcd333876f0fbce321f25). Note how `Remark` has no
@@ -251,7 +256,9 @@ These should be relatively simple changes.
251
256
252
257
Without getting too deep into `fxml`, let’s go on a 5 minute adventure to get some placeholder text to show up for each project.
253
258
254
-
Simply add the following to [`seedu.projectDescription.ui.ProjectCard`](https://github.com/se-edu/addressbook-level3/commit/850b78879582f38accb05dd20c245963c65ea599#diff-0c6b6abcfac8c205e075294f25e851fe).
Copy file name to clipboardExpand all lines: docs/tutorials/TracingCode.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ Before we proceed, ensure that you have done the following:
32
32
33
33
## Setting a break point
34
34
35
-
As you know, the first step of debugging is to put in a breakpoint where you want the debugger to pause the execution. For example, if you are trying to understand how the App starts up, you would put a breakpoint in the first statement of the `main` method. In our case, we would want to begin the tracing at the very point where the App start processing user input (i.e., somewhere in the UI component), and then trace through how the execution proceeds through the UI component. However, the execution path through a GUI is often somewhat obscure due to various *event-driven mechanisms* used by GUI frameworks, which happens to be the case here too. Therefore, let us put the breakpoint where the UI transfers control to the Logic component. According to the sequence diagram, the UI component yields control to the Logic component through a method named `execute`. Searching through the code base for `execute()` yields a promising candidate in `seedu.projectDescription.ui.CommandBox.CommandExecutor`.
35
+
As you know, the first step of debugging is to put in a breakpoint where you want the debugger to pause the execution. For example, if you are trying to understand how the App starts up, you would put a breakpoint in the first statement of the `main` method. In our case, we would want to begin the tracing at the very point where the App start processing user input (i.e., somewhere in the UI component), and then trace through how the execution proceeds through the UI component. However, the execution path through a GUI is often somewhat obscure due to various *event-driven mechanisms* used by GUI frameworks, which happens to be the case here too. Therefore, let us put the breakpoint where the UI transfers control to the Logic component. According to the sequence diagram, the UI component yields control to the Logic component through a method named `execute`. Searching through the code base for `execute()` yields a promising candidate in `seedu.address.ui.CommandBox.CommandExecutor`.
36
36
37
37

0 commit comments