Hi!
How can I embed a Roassal visualization in Spec? There is the package Roassal2Spec, but since it does not contains any documentation or example, hard to use it :-)
Johan, an hello world example please :-)
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi Alex,
I forgot to ask at ESUG... but what are the plans for moving towards
Roassal3 and Bloc?
Because currently I am very hesitant in engaging with Telescope which may
or may not solve some of my problems... but the code is really, really hard
to read for me.
So from this perspective it might be more fruitful for me to spend energy
on Bloc, provided there will be some more gradual movement from 2 to 3.
Thanks,
Peter
Hi!
I find the name “Do it all and go” pretty long. Although it describes exactly what it does, it is still a long name that does not fit well in textual descriptions.
Maybe it can be named “Run button: do it all and go” ?
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi,
The moose builds are failing after fixing this issues:
https://pharo.fogbugz.com/f/cases/15933
Now in ConfigurationOfMagritte3 there is no entry for pharo5.x
for Magritte-Pharo-Model, which is loaded by ConfigurationOFGlamour.
Any ideas how to fix this?
Cheers,
Andrei
Hi!
I have worked on a new class RTData, intended to replace RTDataSet and RTStackedDataSet. The discussion with Doru made me realize that having two classes does not make sense at all.
You can now do:
-=-=-=-=-=-=-=-=-=
b := RTGrapher new.
ds := RTData new.
ds points: #(3 2 5 1 3).
b add: ds.
b
-=-=-=-=-=-=-=-=-=
b := RTGrapher new.
ds := RTData new.
ds points: RTShape withAllSubclasses.
ds y: #numberOfMethods.
ds x: #numberOfLinesOfCode.
b add: ds.
b
-=-=-=-=-=-=-=-=-=
b := RTGrapher new.
ds := RTData new.
ds points: RTShape withAllSubclasses.
ds y: #numberOfMethods.
b add: ds.
b
-=-=-=-=-=-=-=-=-=
I have marked RTDataSet and RTStackedDataSet as obsolete.
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
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
Hi!
After the discussion with Doru, we have made the following improvement:
- smaller labels in Grapher
- labels are now gray and not black
- scrollbar are thinner
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hello,
I'm thinking of attending Camp Smalltalk 2015 in Portland, OR this August.
https://www.picatic.com/event14352674835773927
Any Roassal / Moose hackers also attending? I haven't programmed in
Squeak/Smalltalk in quite a few years, I was hoping to learn to use Roassal
during the camp.
Thanks!
--
Duncan.
Hi!
Today Usman and I have pair-programmed. We improved the legend builder.
Here is an example
Check this out:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
b := RTMondrian new.
b shape rectangle
width: [ :c | c numberOfVariables * 5 ];
height: #numberOfMethods.
b nodes: RTShape withAllSubclasses.
b edges connectFrom: #superclass.
b layout tree.
b normalizer
normalizeColor: #numberOfLinesOfCode using: { Color black. Color red }.
b build.
lb := RTLegendBuilder new.
lb view: b view.
lb addText: 'System complexity view'.
lb addRectanglePolymetricWidth: 'number of methods' height: 'Line of code' box: 'a Pharo class'.
lb addColorFadingFrom: Color red to: Color black text: 'Number of lines of code'.
lb build.
b
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.