forked from nus-cs2103-AY1617S1/addressbook-level4
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
390 additions
and
269 deletions.
There are no files selected for viewing
14 changes: 7 additions & 7 deletions
14
src/main/java/seedu/agendum/commons/events/logic/AliasTableChangedEvent.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 |
---|---|---|
@@ -1,25 +1,25 @@ | ||
//@@author A0133367E | ||
package seedu.agendum.commons.events.logic; | ||
|
||
import seedu.agendum.commons.events.BaseEvent; | ||
import java.util.Hashtable; | ||
|
||
import java.util.*; | ||
import seedu.agendum.commons.events.BaseEvent; | ||
|
||
/** | ||
* Indicate the alias table in Logic's command library has changed | ||
* Indicate the alias table in {@link seedu.agendum.logic.commands.CommandLibrary} has changed | ||
*/ | ||
public class AliasTableChangedEvent extends BaseEvent { | ||
|
||
public final String aliasedKeyChanged; | ||
public final Hashtable<String, String> aliasTable; | ||
private String message_; | ||
|
||
public AliasTableChangedEvent(String aliasedKeyChanged, Hashtable<String, String> aliasTable) { | ||
this.aliasedKeyChanged = aliasedKeyChanged; | ||
public AliasTableChangedEvent(String message, Hashtable<String, String> aliasTable) { | ||
this.aliasTable = aliasTable; | ||
this.message_ = message; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return aliasedKeyChanged; | ||
return message_; | ||
} | ||
} |
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
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.