Final ExerciseΒΆ
Now that the view and the model are complete all that is left to do is bring it all together in our presenter. In this exercise you will need to create three presenters.
A presenter to interact with
View
, setting the allowed colour options from theColourConverter
model and getting the values from your table.A presenter to interact with
PlotView
, passing x and y values from thePlotModel
model to be plotted.A presenter to interact with
MainView
andModel
directly and calling functions in your other presenters.
See here for the solution and complete functioning GUI.