forked from nus-cs2103-AY1617S2/addressbook-level4
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #123 from CS2103JAN2017-W15-B4/staging
V0.5rc Milestone
- Loading branch information
Showing
81 changed files
with
1,766 additions
and
485 deletions.
There are no files selected for viewing
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 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
24 changes: 24 additions & 0 deletions
24
src/main/java/seedu/geekeep/commons/events/model/GeekeepFilePathChangedEvent.java
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 @@ | ||
package seedu.geekeep.commons.events.model; | ||
|
||
import seedu.geekeep.commons.events.BaseEvent; | ||
import seedu.geekeep.model.Config; | ||
import seedu.geekeep.model.ReadOnlyGeeKeep; | ||
|
||
/** Indicates the GeeKeep in the model has changed*/ | ||
public class GeekeepFilePathChangedEvent extends BaseEvent { | ||
|
||
public final Config config; | ||
public final ReadOnlyGeeKeep geekeep; | ||
|
||
public GeekeepFilePathChangedEvent(Config config, ReadOnlyGeeKeep geekeep) { | ||
this.config = config; | ||
this.geekeep = geekeep; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return "GeeKeep file path = " + config.getGeekeepFilePath() + "\nnumber of tasks " | ||
+ geekeep.getTaskList().size() | ||
+ ", number of tags " + geekeep.getTagList().size(); | ||
} | ||
} |
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.