forked from nusCS2113-AY1819S1/addressbook-level4
-
Notifications
You must be signed in to change notification settings - Fork 5
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 #151 from trufflepirate/dev1_4_2
Dev1 4 2
- Loading branch information
Showing
37 changed files
with
824 additions
and
249 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
src/main/java/seedu/address/commons/events/ui/FocusJobRequestEvent.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,27 @@ | ||
package seedu.address.commons.events.ui; | ||
|
||
import seedu.address.commons.core.JobMachineTuple; | ||
import seedu.address.commons.events.BaseEvent; | ||
|
||
/** | ||
* An event for indicating ad job has finished | ||
*/ | ||
public class FocusJobRequestEvent extends BaseEvent { | ||
|
||
private final JobMachineTuple machineAndJobToFocus; | ||
|
||
public FocusJobRequestEvent(JobMachineTuple focusTargets) { | ||
machineAndJobToFocus = focusTargets; | ||
} | ||
|
||
public JobMachineTuple getMachineAndJobToFocus() { | ||
return machineAndJobToFocus; | ||
} | ||
|
||
|
||
@Override | ||
public String toString() { | ||
return getClass().getSimpleName(); | ||
} | ||
|
||
} |
27 changes: 27 additions & 0 deletions
27
src/main/java/seedu/address/commons/events/ui/FocusMachineRequestEvent.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,27 @@ | ||
package seedu.address.commons.events.ui; | ||
|
||
import seedu.address.commons.core.JobMachineTuple; | ||
import seedu.address.commons.events.BaseEvent; | ||
|
||
/** | ||
* An event for indicating ad job has finished | ||
*/ | ||
public class FocusMachineRequestEvent extends BaseEvent { | ||
|
||
private final JobMachineTuple machineAndJobToFocus; | ||
|
||
public FocusMachineRequestEvent(JobMachineTuple focusTargets) { | ||
machineAndJobToFocus = focusTargets; | ||
} | ||
|
||
public JobMachineTuple getMachineAndJobToFocus() { | ||
return machineAndJobToFocus; | ||
} | ||
|
||
|
||
@Override | ||
public String toString() { | ||
return getClass().getSimpleName(); | ||
} | ||
|
||
} |
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.