Tudor Girba wrote:
Hi Ben,


On 1 Mar 2012, at 19:08, Ben Coman wrote:

  
Very much looking forward to a further Glamour-Magritte example.
    

        
It's in the repository. You can also find it in the latest Moose dev
build, although this will be on Pharo 1.4:

http://ci.moosetechnology.org/job/moose-latest-dev/lastSuccessfulBuild/artifact/
      
Thanks Tudor.  I added having a list view and details pane (image attached) and uploaded to http://www.squeaksource.com/Glamour as Glamour-Examples-BenComan.227.  I hope you like it.  Those small number of lines are a testament to the power of both Glamour and Magritte, and a minor achievement in my learning of them.  Things are slowly falling into place.
    

Excellent.

  
However I've broken starting it from the examples browser, so use the method comment - and hopefully the fix is obvious to you since I could not work it out.
    

But, it does work already :). My guess is that you tried to work from an opened examples browser, but the current implementation does not reload the code of the pragma (which means that you were probably running the new code with the old setup).
  
You are right. It works in a newly opened examples browser.
Anyway, if you start a new examples browser it will work as expected. Nice job.

  
Also as I mentioned above, the <Cancel> button does not perform as I expect, which would be to revert back to the original data.
    

Indeed, this is a good point. Would you like to give it a try to fix this? If you need help, just ask and I try to answer. Like that you learn the internals of Glamour (they are not that complicated)

The relevant code is in:
- GLMMagrittePresentation
- GLMMorphicMagritteRenderer
  
I've just woken up and off to work. I will try tonight.
Cheers,
Doru



  
cheers, Ben


<GlamourMagritteExample(1).png>_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
    

--
www.tudorgirba.com

"One cannot do more than one can do."




_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev