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 theColourConvertermodel and getting the values from your table.A presenter to interact with
PlotView, passing x and y values from thePlotModelmodel to be plotted.A presenter to interact with
MainViewandModeldirectly and calling functions in your other presenters.
See here for the solution and complete functioning GUI.