Hi!
Today Andrei and I pair-programmed on a stack bar plot builder.
Here is an example:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
b := RTStackBarPlot new.
b interaction popupText.
b colorPalette colors: { Color blue . Color lightBlue }.
b add: #(37 33 0 0 0) title: 'DN1'.
b add: #(24 26 17 3 0) title: 'DN2'.
b add: #(25 29 15 1 0) title: 'DN3'.
b add: #(30 33 6 1 0) title: 'DN4'.
b addLegend: #('strongly agree' 'agree' 'neutral' 'disagree' 'strongly disagree').
b barWidth: 260 height: 20.
b addLabelToBars: [ :assoc | (assoc key / b totalSum * 100) asInteger asString, '%' ] if: [:assoc | assoc key > 5 ] color: Color white.
b build.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Result is the following:
Cheers,
Andrei & Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Name: ConfigurationOfFame-StephanEggermont.29
Author: StephanEggermont
Time: 12 December 2014, 1:44:19.682481 pm
UUID: a59ec3f1-2e02-4e1e-a35b-2b195f3f8f1c
Ancestors: ConfigurationOfFame-StephanEggermont.28
wrong version fix in place
Name: ConfigurationOfSmallDude-StephanEggermont.30
Author: StephanEggermont
Time: 12 December 2014, 1:52:50.120165 pm
UUID: a71f5053-b9c9-4024-8457-631db8e8cdf4
Ancestors: ConfigurationOfSmallDude-TudorGirba.29
Version for Moose 5.0
Name: ConfigurationOfPetitSQLParser-StephanEggermont.24
Author: StephanEggermont
Time: 12 December 2014, 1:59:02.954291 pm
UUID: 5150f87c-ee94-43cc-886d-d1933b341ab3
Ancestors: ConfigurationOfPetitSQLParser-StephanEggermont.23
Use the new version in #stable
Name: ConfigurationOfPetitSQLParser-StephanEggermont.25
Author: StephanEggermont
Time: 12 December 2014, 2:07:43.151571 pm
UUID: d631128c-fd0e-4ea6-a4b4-3f6d1ff7c784
Ancestors: ConfigurationOfPetitSQLParser-StephanEggermont.24
typo
I've added a first version of the release5.0 version, only containing
stable versions of the depending configurations. Loading that gives
an emergency debugger.
Gofer new
smalltalkhubUser: 'Moose' project: 'Moose';
configuration;
load.
((Smalltalk at: #ConfigurationOfMoose) project version: #'release5.0') load
Hi!
We have worked very hard on a Roassal exporter for the Web.
Milton has produced the class RTHTML5Exporter, which may be simply invoked as: RTHTML5Exporter new export: aRoassalView.
Check this out:
https://dl.dropboxusercontent.com/u/31543901/RoassalHTML/index.html
Try moving the mouse above the circle or dots in the curve.
The html file you see from your web browser is the result of do-iting the following expression:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
| c b c2 |
c := RTComposer new.
"======"
b := RTGraphBuilder new.
b view: c view.
b edges
connectFrom: #superclass;
useInLayout.
b edges
if: [ :fromClass :toClass | toClass name beginsWith: 'TR' ];
connectTo: #dependentClasses;
color: (Color blue alpha: 0.3).
b nodes
if: [ :cls | cls name beginsWith: 'RT' ];
color: Color blue.
b nodes
color: Color red.
b layout cluster.
b global
normalizeSize: #numberOfMethods min: 5 max: 40 using: #sqrt;
alphaColor: 0.4.
b addAll: TRShape withAllSubclasses, RTShape withAllSubclasses.
b build.
c group.
"======"
c2 := RTCharterBuilder new.
c2 view: c view.
c2 interaction popup.
c2 extent: 300 @ 200.
c2 points: (RTShape withAllSubclasses sortedAs: #numberOfMethods).
c2 connectDotColor: Color blue.
c2 points: (TRShape withAllSubclasses sortedAs: #numberOfMethods).
c2 stackX.
c2 allY: #numberOfMethods.
c2 connectDotColor: Color red.
c2 axisX.
c2 axisY.
c2 build.
c group.
"======"
c layout: RTVerticalLineLayout new.
c propagateHighlightToAll.
"======"
legend := RTLegendBuilder new.
legend view: c view.
legend addText: 'This is a demonsration of a combination of builders'.
legend addText: 'The above visualization shows the dependencies between Roassal and Trachel shapes.'.
legend addText: 'Curves indicate the distribution of the number of methods'.
legend build.
"======"
RTHTML5Exporter new export: c view.
c view
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Name: ConfigurationOfPetitParser-StephanEggermont.57
Author: StephanEggermont
Time: 12 December 2014, 11:29:41.588663 am
UUID: 9cf8b80c-3e08-49ee-a014-4c6e815afaa3
Ancestors: ConfigurationOfPetitParser-usmanbhatti.56
Stable version for Moose 5
Name: ConfigurationOfPetitSQLParser-StephanEggermont.23
Author: StephanEggermont
Time: 12 December 2014, 11:35:05.659061 am
UUID: 981097a0-66e7-4933-91cb-bfca289c2862
Ancestors: ConfigurationOfPetitSQLParser-TudorGirba.22
New stable version for Moose 5
Hello,
I have been using GTInspector a lot lately and I think it is a great tool. Even though, sometimes I have to go back to the old inspector. Sometimes an inspector tab raise an error and instead of having a single unusable tab, or a inspector with less tabs I get no inspector at all.
Have anyone had this problem before?
In case you need help with this issue, how can I contribute?
Cheers,
Alejandro
Dear All,
Rosario, a really smart student from University of Chile, is working on a history-aware debugger (sometimes called Omniscient debugging).
Although this is still an early version of Rosario’s prototype and we are still unsure what we actually want (as you may guess, it all depends on the usage scenarios we want to cover), Rosario decided to do a small video, just to spark what has to be sparked :-D
http://vimeo.com/114094830 <http://vimeo.com/114094830>
Thanks Andrei for offering his help on this! It is good to have you among us!
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi,
I would like to know why the basic icons in Moose comes from the Pharo2.0 version:
[cid:image001.png@01D0146A.C06A1150]
And not from Pharo3.0: ?
[cid:image002.png@01D0146B.15F1AAC0]
Cheers,
Vincent
________________________________
Ce message et les pi?ces jointes sont confidentiels et r?serv?s ? l'usage exclusif de ses destinataires. Il peut ?galement ?tre prot?g? par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir imm?diatement l'exp?diteur et de le d?truire. L'int?grit? du message ne pouvant ?tre assur?e sur Internet, la responsabilit? de Worldline ne pourra ?tre recherch?e quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'exp?diteur ne donne aucune garantie ? cet ?gard et sa responsabilit? ne saurait ?tre recherch?e pour tout dommage r?sultant d'un virus transmis.
This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.