Skip to content

Commit e973996

Browse files
author
GeNiaaz
committed
Fix fxml error
1 parent 477d465 commit e973996

File tree

4 files changed

+16
-14
lines changed

4 files changed

+16
-14
lines changed

docs/DeveloperGuide (original AB3 tempalte).md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,10 @@ The ***Architecture Diagram*** given above explains the high-level design of the
3131

3232
</div>
3333

34-
**`Main`** has two classes called [`Main`](https://github.com/se-edu/addressbook-level3/tree/master/src/main/java/seedu/projectDescription/Main.java) and
35-
[`MainApp`](https://github.com/se-edu/addressbook-level3/tree/master/src/main/java/seedu/projectDescription/MainApp.java). It is responsible for,
34+
**`Main`** has two classes called
35+
[`Main`](https://github.com/se-edu/addressbook-level3/tree/master/src/main/java/seedu/address/Main.java) and
36+
[`MainApp`](https://github.com/se-edu/addressbook-level3/tree/master/src/main/java/seedu/address/MainApp.java). It is
37+
responsible for,
3638
* At app launch: Initializes the components in the correct sequence, and connects them up with each other.
3739
* At shut down: Shuts down the components and invokes cleanup methods where necessary.
3840

@@ -70,14 +72,14 @@ The sections below give more details of each component.
7072
![Structure of the UI Component](images/UiClassDiagram.png)
7173

7274
**API** :
73-
[`Ui.java`](https://github.com/se-edu/addressbook-level3/tree/master/src/main/java/seedu/projectDescription/ui/Ui.java)
75+
[`Ui.java`](https://github.com/se-edu/addressbook-level3/tree/master/src/main/java/seedu/address/ui/Ui.java)
7476

7577
The UI consists of a `MainWindow` that is made up of parts e.g.`CommandBox`, `ResultDisplay`, `ProjectListPanel`,
7678
`StatusBarFooter` etc. All these, including the `MainWindow`, inherit from the abstract `UiPart` class.
7779

7880
The `UI` component uses JavaFx UI framework. The layout of these UI parts are defined in matching `.fxml` files
7981
that are in the `src/main/resources/view` folder. For example, the layout of the
80-
[`MainWindow`](https://github.com/se-edu/addressbook-level3/tree/master/src/main/java/seedu/projectDescription/ui/MainWindow.java)
82+
[`MainWindow`](https://github.com/se-edu/addressbook-level3/tree/master/src/main/java/seedu/address/ui/MainWindow.java)
8183
is specified in
8284
[`MainWindow.fxml`](https://github.com/se-edu/addressbook-level3/tree/master/src/main/resources/view/MainWindow.fxml)
8385

@@ -91,7 +93,7 @@ The `UI` component,
9193
![Structure of the Logic Component](images/LogicClassDiagram.png)
9294

9395
**API** :
94-
[`Logic.java`](https://github.com/se-edu/addressbook-level3/tree/master/src/main/java/seedu/projectDescription/logic/Logic.java)
96+
[`Logic.java`](https://github.com/se-edu/addressbook-level3/tree/master/src/main/java/seedu/address/logic/Logic.java)
9597

9698
1. `Logic` uses the `MainCatalogueParser` class to parse the user command.
9799
1. This results in a `Command` object which is executed by the `LogicManager`.
@@ -114,7 +116,7 @@ should end at the destroy marker (X) but due to a limitation of PlantUML, the li
114116
![Structure of the Model Component](images/ModelClassDiagram.png)
115117

116118
**API** :
117-
[`Model.java`](https://github.com/se-edu/addressbook-level3/tree/master/src/main/java/seedu/projectDescription/model/Model.java)
119+
[`Model.java`](https://github.com/se-edu/addressbook-level3/tree/master/src/main/java/seedu/address/model/Model.java)
118120

119121
The `Model`,
120122

@@ -138,7 +140,7 @@ The `Model`,
138140
![Structure of the Storage Component](images/StorageClassDiagram.png)
139141

140142
**API** :
141-
[`Storage.java`](https://github.com/se-edu/addressbook-level3/tree/master/src/main/java/seedu/projectDescription
143+
[`Storage.java`](https://github.com/se-edu/addressbook-level3/tree/master/src/main/java/seedu/address
142144
/storage/Storage.java)
143145

144146
The `Storage` component,

docs/DeveloperGuide.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,11 @@ The sections below give more details of each component.
6464
![Structure of the UI Component](images/UiClassDiagram.png)
6565

6666
**API** :
67-
[`Ui.java`](https://github.com/se-edu/addressbook-level3/tree/master/src/main/java/seedu/projectDescription/ui/Ui.java)
67+
[`Ui.java`](https://github.com/se-edu/addressbook-level3/tree/master/src/main/java/seedu/address/ui/Ui.java)
6868

6969
The UI consists of a `MainWindow` that is made up of parts e.g.`CommandBox`, `ResultDisplay`, `ProjectListPanel`, `StatusBarFooter` etc. All these, including the `MainWindow`, inherit from the abstract `UiPart` class.
7070

71-
The `UI` component uses JavaFx UI framework. The layout of these UI parts are defined in matching `.fxml` files that are in the `src/main/resources/view` folder. For example, the layout of the [`MainWindow`](https://github.com/se-edu/addressbook-level3/tree/master/src/main/java/seedu/projectDescription/ui/MainWindow.java) is specified in [`MainWindow.fxml`](https://github.com/se-edu/addressbook-level3/tree/master/src/main/resources/view/MainWindow.fxml)
71+
The `UI` component uses JavaFx UI framework. The layout of these UI parts are defined in matching `.fxml` files that are in the `src/main/resources/view` folder. For example, the layout of the [`MainWindow`](https://github.com/se-edu/addressbook-level3/tree/master/src/main/java/seedu/address/ui/MainWindow.java) is specified in [`MainWindow.fxml`](https://github.com/se-edu/addressbook-level3/tree/master/src/main/resources/view/MainWindow.fxml)
7272

7373
The `UI` component,
7474

@@ -80,7 +80,7 @@ The `UI` component,
8080
![Structure of the Logic Component](images/LogicClassDiagram.png)
8181

8282
**API** :
83-
[`Logic.java`](https://github.com/se-edu/addressbook-level3/tree/master/src/main/java/seedu/projectDescription/logic/Logic.java)
83+
[`Logic.java`](https://github.com/se-edu/addressbook-level3/tree/master/src/main/java/seedu/address/logic/Logic.java)
8484

8585
1. `Logic` uses the `MainCatalogueParser` class to parse the user command.
8686
1. This results in a `Command` object which is executed by the `LogicManager`.
@@ -99,7 +99,7 @@ Given below is the Sequence Diagram for interactions within the `Logic` componen
9999

100100
![Structure of the Model Component](images/ModelClassDiagram.png)
101101

102-
**API** : [`Model.java`](https://github.com/se-edu/addressbook-level3/tree/master/src/main/java/seedu/projectDescription/model/Model.java)
102+
**API** : [`Model.java`](https://github.com/se-edu/addressbook-level3/tree/master/src/main/java/seedu/address/model/Model.java)
103103

104104
The `Model`,
105105

@@ -119,7 +119,7 @@ The `Model`,
119119

120120
![Structure of the Storage Component](images/StorageClassDiagram.png)
121121

122-
**API** : [`Storage.java`](https://github.com/se-edu/addressbook-level3/tree/master/src/main/java/seedu/projectDescription/storage/Storage.java)
122+
**API** : [`Storage.java`](https://github.com/se-edu/addressbook-level3/tree/master/src/main/java/seedu/address/storage/Storage.java)
123123

124124
The `Storage` component,
125125
* can save `UserPref` objects in json format and read it back.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22

3-
<?import seedu.projectDescription.ui.TestFxmlObject?>
3+
<?import seedu.address.ui.TestFxmlObject?>
44
<TestFxmlObject xmlns:fx="http://javafx.com/fxml/1" fx:id="validFileRoot">Hello World!</TestFxmlObject>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22

3-
<fx:root type="seedu.projectDescription.ui.TestFxmlObject" xmlns="http://javafx.com/javafx"
3+
<fx:root type="seedu.address.ui.TestFxmlObject" xmlns="http://javafx.com/javafx"
44
xmlns:fx="http://javafx.com/fxml">
55
<text>Hello World!</text>
66
</fx:root>

0 commit comments

Comments
 (0)