15. Presenter First process IView Presenter IModel The user can query for books by entering the title in the query form … User Story -onQuery() … +getName() … +getBooks() … Requirements drive the design.
16.
17. Presenter First approach IView Presenter IModel The user can enter two addends. Clicking “=“ will add and show their sum. User Story -handleAdd() … +getAddend01() +getAddend02() +setSum() +add() … Example +getAddend01() +getAddend02() +setSum() +registerAddHandler()
38. Showing views … M and V are instantiated. P is instantiated and M and V are injected. P initializes V. P registers itself as IViewListener to V. V is created. V is shown.
39.
40.
41. Agile RCP approach Example Demo: New requirement: Initialize view with “123 + 999 = 1122”