Hi all,
thanks to help from the GT guys Andrei and Alexei here at ESUG15 I am now happy to announce that Spec can now play together nicely with GT presentations :-)
Concretely: I have implemented a new Spec ComposableModel called GlamourPresentationModel that acts as a small wrapper around any presentation of Glamour (i.e. any subclass of GLMPresentation). With this, you can use as a widget in your Spec UI such cool things like - The GT Inspector - The Playground - The Browser
GlamourPresentationModel is a very small class that is easy to use, with just one API method for its configuration. By default it opens a Playground, but you can configure it to open any GLMPresentation subclass. Here are 2 examples:
"open a playground" GlamourPresentationModel new openWithSpec.
"open an inspector on 42" |ui| ui := GlamourPresentationModel new. ui presentationClass: GTInspector startOn: 42. ui openWithSpec
The GlamourPresentationModel is currently in my Playground repository on Smalltalkhub. ( http://smalltalkhub.com/#!/~jfabry/Playground/packages/Spec-Glamour ) There is also an example UI called GlamourPMExample that shows how to use it.
I tried it with Pharo 4 but not yet with Pharo 5. I will push on its integration in Pharo 5 in a few months. Please use it and tell me how it works out for you!
---> Save our in-boxes! http://emailcharter.org <---
Johan Fabry - http://pleiad.cl/~jfabry PLEIAD and RyCh labs - Computer Science Department (DCC) - University of Chile
jfabry wrote
I am now happy to announce that Spec can now play together nicely with GT presentations :-) ... you can use as a widget in your Spec UI such cool things like
- The GT Inspector
- The Playground
- The Browser
Cool! Thanks :)
----- Cheers, Sean -- View this message in context: http://forum.world.st/ANN-GT-presentations-now-available-as-a-Spec-widget-tp... Sent from the Moose mailing list archive at Nabble.com.