[Pharo-users] Glamour detecting changes?

2014-12-20 Thread Daniel Lyons
I have a pretty simple class and I'm using a GLMFinder to browse its contents. If I make changes to the instance I'm browsing, it doesn't look like Glamour detects the changes and refreshes. I'm using self changed: #property in the setter. If I navigate backwards and unselect, and re-browse into

Re: [Pharo-users] Spec: "pluggable" widgets / label-input layout?

2014-12-20 Thread stepharo
Don't add a method to do the layout or don't name it #layout? dont name it layout. The tutorial doesn't say what to name the method, just that it can be named anything using the pragma. I have two questions about the Spec side of the house: 1. The title/costWidget whenTextChan

Re: [Pharo-users] Spec: "pluggable" widgets / label-input layout?

2014-12-20 Thread Daniel Lyons
> On Dec 20, 2014, at 4:06 AM, Nicolai Hess wrote: > > The spec part of your question: > > 2014-12-20 5:49 GMT+01:00 Daniel Lyons >: > Supposing I have a domain model, Activity, which looks like this: > > Object subclass: #Activity > instanceVariableName

Re: [Pharo-users] How to open the Settings style dialog?

2014-12-20 Thread Nicolai Hess
2014-12-15 17:15 GMT+01:00 Rafael Luque : > Hi all, > > I was reading about the Settings framework (Deep Into Pharo, chapter 5) > and I don't find the way to popup the style dialog shown in Figure 5.11 in > page 71 ( > https://books.google.es/books?id=Qki8BQAAQBAJ&lpg=PA68&dq=pharo%20the%20style%2

Re: [Pharo-users] Question about Morphic in Pharo 4

2014-12-20 Thread Trygve Reenskaug
I can't resist adding my pennyworth to this discussion. The ST vision was to empower "children of all ages" to master their own programs. This gives me an imperative discriminator for all my work: Am I making the programs more readable? If not, don't do it. I have been programming Smalltalk

Re: [Pharo-users] Question about Morphic in Pharo 4

2014-12-20 Thread kilon alios
no I am sorry but I cannot understand it, looks like I am too stupid for Spec . Its ok though thats my fault , thank you all for trying to help me understand. Unfortunately the whole design of Spec looks extremely hard to me. On Sat, Dec 20, 2014 at 3:48 PM, Nicolai Hess wrote: > This is how I w

Re: [Pharo-users] Question about Morphic in Pharo 4

2014-12-20 Thread kilon alios
ok thank you for taking it the time explaining things. I will figure this out myself. On Sat, Dec 20, 2014 at 3:46 PM, Johan Fabry wrote: > This is my last mail to the thread as we are going around in circles. > > > "I focused on you splitting up into methods because that was a complaint > of yo

Re: [Pharo-users] Question about Morphic in Pharo 4

2014-12-20 Thread Nicolai Hess
This is how I would do it. (see attachement) What do you say? Is it clearer now what I meant with compose and reusable models? I am curios how would a pure morphic based solution look like. As it is just a simple dialog, I think the pure morphic version would be similar (in code size) and of cour

Re: [Pharo-users] Question about Morphic in Pharo 4

2014-12-20 Thread Johan Fabry
This is my last mail to the thread as we are going around in circles. > "I focused on you splitting up into methods because that was a complaint of > yours and you said you were following Spec examples when doing that." > > But I think I have been crystal clear about this my main issues were 2

Re: [Pharo-users] Question about Morphic in Pharo 4

2014-12-20 Thread Esteban Lorenzano
> On 20 Dec 2014, at 13:44, Sean P. DeNigris wrote: > > kilon.alios wrote >> even if continue to use Spec I will stiil have to rely on Morphic >> since custom GUIs is really important for me. > > Yes, that's why they can not be compared: > Morphic = make and understand any UI > Spec = make comm

Re: [Pharo-users] Question about Morphic in Pharo 4

2014-12-20 Thread Sean P. DeNigris
kilon.alios wrote > even if continue to use Spec I will stiil have to rely on Morphic > since custom GUIs is really important for me. Yes, that's why they can not be compared: Morphic = make and understand any UI Spec = make common business UIs easily (on top of a general framework like Morphic)

Re: [Pharo-users] Spec: "pluggable" widgets / label-input layout?

2014-12-20 Thread Nicolai Hess
The spec part of your question: 2014-12-20 5:49 GMT+01:00 Daniel Lyons : > Supposing I have a domain model, Activity, which looks like this: > > Object subclass: #Activity > instanceVariableNames: 'title cost' > classVariableNames: '' > category: 'PERT' > > Then I have the

Re: [Pharo-users] Spec: "pluggable" widgets / label-input layout?

2014-12-20 Thread Nicolai Hess
2014-12-20 5:49 GMT+01:00 Daniel Lyons : > Supposing I have a domain model, Activity, which looks like this: > > Object subclass: #Activity > instanceVariableNames: 'title cost' > classVariableNames: '' > category: 'PERT' > > Then I have the expected accessors for title and

Re: [Pharo-users] Question about Morphic in Pharo 4

2014-12-20 Thread kilon alios
"This is an explanation of how the whole is composed of the different parts and how different responsibilities of the UI are split up amongst different classes. In Morphic these are joined and that’s a reason why many persons are unhappy with it." AFAIK the idea behind MVC is a GUI system that is