The purpose of this assignment is to learn to use a CASE (computer-aided software engineering) tool used in software design and design documentation.
Throughout this course and future SE courses at MSOE, Enterprise Architect (EA) is used to assist in software design, implementation, and documentation. EA has many features; however, the functionality required for this assignment is relatively simple. There is much to explore in EA, but make sure you accomplish the required tasks before spending too much time exploring the tool.
See this page for step-by-step instructions for creating a UML class diagram in EA.
See this page for step-by-step instructions for creating a UML sequence diagram in EA.
You must create a UML class diagram in EA that represents the WinPlotter class. The diagram should look like the one shown below. You must also create a UML sequence diagram for the Lab1App class's main method. An incomplete version of the sequence diagram is shown below.
Here is the code for the Lab1App class:
import edu.msoe.se1010.winPlotter.*; public class Lab1App { public static void main(String[] args) { JOptionPane.showMessageDialog(null, "Lab 1 App"); WinPlotter plotter1 = new WinPlotter(); plotter1.setWindowSize(250,250); plotter1.setWindowTitle("First Window"); WinPlotter plotter2 = new WinPlotter(); plotter1.setBackgroundColor(0,0,255); plotter1.moveTo(10,10); plotter1.setPenColor(255,255,0); plotter1.drawTo(200,200); plotter1.drawTo(10,200); plotter1.drawTo(10,10); plotter2.setWindowSize(300, 300); plotter2.setBackgroundColor(0,0,0); plotter2.setWindowTitle("Second Window"); plotter2.setWindowSize(350,350); plotter2.setBackgroundColor(255,255,255); plotter2.printAt(350/2,350/2,"Middle"); } }
You should indicate how much time (in minutes) you spend on this assignment in the FAST database. You are encouraged to log your activity as you work on the project. At a minimum, you should log all of the time spent on this assignment before the due date given above. All time spent on this assignment should be entered into the week 1 column (even if you worked on it in week 2).
You should follow your instructor's instructions for your lab submission.
If you have any questions, consult your instructor.