For this Assignment, you update WERS based on a new user requirement.
Users of WERS have requested an additional way of viewing information. In addition to the existing view of the emergency data, they want an administrative overview of all emergencies and the proposed responses.
Use the Observer interface and the Observable subclass in Java to extend the current MVC implementation by adding a new View to handle this additional requirement.
The user interface portion of this task already exists as the class AdminView. Your task is to complete the information gathering and communication between this view and the model. You need to gather the required information in the model so that it notifies views (including the new AdminView) as needed. You also need to make additional changes so that the system can handle additional views. These changes should include either adding a new controller or extending the current one to notify AdminView.
Make sure to confirm that you have implemented this successfully by inputting information in one or both of the views and watching the information update in the open AdminView. You can do this by running the scenario "TwoViewAdmin" to test your work.
By Day 7, submit the following:
- The updated source code with appropriate comments (In the updated code, make sure to add the following comment above any changes you have made: "// CHANGED for OBSERVER IMPLEMENTATION".)
- A screenshot of two responder views and one admin view running (The view should show one response started by one responder and both views noted in the AdminView.)
- A 1-page explanation indicating whether you decided to add a new controller or extend the existing one, along with a justification for your decision (Make sure your explanation follows the APA style.)