Re: [Pharo-users] Setting a model for a Spec UI in Pharo 8

2020-02-12 Thread Renaud de Villemeur via Pharo-users
--- Begin Message --- Hi Bren. Are you doing it with Spec2 ? >From my understanding, Spec2 is an MVP framework (Model-View-Presenter) - The model represent the domain logic of the application - The presenter let the developer do the UI programmaticaly and connect it to the Model. - The UI drawi

Re: [Pharo-users] Setting a model for a Spec UI in Pharo 8

2020-02-12 Thread Bren
Hi fellow Pharo folks, TL;DR: The only apparent way to open a standalone presenter on a user-specified model, SpPresenter>>on:, has a comment suggesting it will be deprecated. As a follow-up to my previous question in case someone DuckDuckGoes it in the future, it seems that adding self modelC

[Pharo-users] Setting a model for a Spec UI in Pharo 8

2020-02-08 Thread Bren
Hi Pharo friends, TL;DR: How should one open a presenter on a user-specified model? Is SpPresenterWithModel>>setAnnouncingObject: missing a call to modelChanged? The long version: I am trying to write a UI for my threat modeling tool using Spec in Pharo 8. I had trouble getting my first pres