ConfigurationOfGlamourSeaside
- added 0.5 baseline
- loading more of Seaside (core no longer loads much)
- referring to smalltalkhub for jQueryWidgetBox
no version 0.5 yet
Stephan
Layout may be applied at each refresh using the class RTLayoutAnimation. This is useful when elements have varying size.
-=-=-=-=-=-=-=-=-=-=-=-=
| v es resizeAnimation shape normalizer |
v := RTView new.
normalizer := RTMultiLinearColor new.
shape := RTBox new size: ‪#‎yourself‬; color: [ :value | (normalizer level: (value / 100)) alpha: 0.4 ].
es := shape elementsOn: (1 to: 100 by: 10).
v addAll: es.
v canvas addMenu: 'Press me!' callback: [
es do: [ :e |
resizeAnimation :=
RTResizeMove new
toExtent: (100 - e model) @ (100 - e model) on: e.
e model: (100 - e model).
v addAnimation: resizeAnimation ] ].
v addAnimation: (RTLayoutAnimation new elements: es; yourself).
v open
-=-=-=-=-=-=-=-=-=-=-=-=
Animation on:
https://www.facebook.com/photo.php?v=636496456436955&set=vb.340543479365589…
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi everyone. Is Roassal2 released? I guess is was already integrated into Moose, and from time to time I see amazing pictures and video on Twitter/Facebook. But is there any new guide? Or changes list from Roassal1?
Cheers.
Uko
Hi all,
We would like to have more communication about the Magritte configuration. We will start by describing the current state, as far as we know it.
The current released version of Magritte is 3.1.3. This versions contains the latest changes and is a release version, so should not be changed. Please use #release3.1 in referring to this version, to allow for minor updates and bug fixes to be automatically integrated.
The #release3.0 is also maintained, as this refers to #release3.0 of Seaside. And as long as #release3.1 of Seaside is not released on Gemstone, I will maintain this version.
There is also versions 3.2. We do not know why this version is created. It uses a duplicate baseline (only the Grease version differs), and no big changes for Magritte are planned (to my knowledge). So we propose to remove this version. If you want this version to be kept, please reply this mail with a reason. Version 3.2 is outdated, but it implies to be more recent than 3.1.3.
For the time being I will only remove the 3.2-baseline, as it is duplicate. If I do not receive a mail saying 3.2 should be kept, I will remove this version beginning of June.
For development I will create a version 3.1.4. I will also point #development to this version.
Discussion on Magritte List.
Cheers,
Stephan and Diego
Hi,
It's ok. With @RTDraggableView, i resolve the problem. Now, i can drag the
graph when i zoom it in the glamour panel.
Thanks
2014-05-21 15:47 GMT+07:00 <moose-dev-request(a)iam.unibe.ch>:
> Send Moose-dev mailing list submissions to
> moose-dev(a)iam.unibe.ch
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> or, via email, send a message with subject or body 'help' to
> moose-dev-request(a)iam.unibe.ch
>
> You can reach the person managing the list at
> moose-dev-owner(a)iam.unibe.ch
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Moose-dev digest..."
>
>
> Today's Topics:
>
> 1. Re: view of graph in glamour (Alexandre Bergel)
> 2. Re: working towards initial LEKtrek 0.1 release (Alexandre Bergel)
> 3. Jenkins build became unstable: moose-5.0 #1446
> (admin(a)moosetechnology.org)
> 4. Jenkins build is back to stable : moose-5.0 #1448
> (admin(a)moosetechnology.org)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 20 May 2014 15:34:48 -0400
> From: Alexandre Bergel <alexandre.bergel(a)me.com>
> Subject: [Moose-dev] Re: view of graph in glamour
> To: Moose-related development <moose-dev(a)iam.unibe.ch>
> Message-ID: <18451310-328D-40A0-B23B-450BF905463C(a)me.com>
> Content-Type: text/plain; charset=windows-1252
>
> Hi Fabrice,
>
> I am not sure to understand. It would be great if you could send me a
> small example of what is wrong.
> Look at this example:
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> | b |
> b := GLMTabulator new.
> b column: #first.
> b column: #second.
> b transmit to: #first; andShow: [ :a |
> a list
> display: (1 to: 20);
> yourself
> ].
>
> b transmit from: #first; to: #second; andShow: [ :a |
> a roassal2 painting: [ :view :input |
> | bg |
> bg := GET2Line new view: view; data: (input to: 30).
> bg y: [ :x | x * x ].
> bg build.
> view @ RTDraggableView.
> ]
> ].
>
> b openOn: 42
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>
> I?ve sent you this example before. Here, I have added the line "view @
> RTDraggableView.?.
> With this new line, I can drag the view.
>
> Does this help?
>
> Will you be at the moose day in Paris?
>
> Alexandre
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
> On May 20, 2014, at 2:01 PM, Fabrice Atrevi <atrevifabrice(a)gmail.com>
> wrote:
>
> > Hi,
> > It's ok, but when i zoom, i can't drag the graph. i have a browser and a
> small panel for view the graph, so the graph is small. i want to allow user
> to drag the graph when he zoom it.
> > thanks
> >
> >
> > 2014-05-20 20:00 GMT+07:00 <moose-dev-request(a)iam.unibe.ch>:
> > Send Moose-dev mailing list submissions to
> > moose-dev(a)iam.unibe.ch
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> > or, via email, send a message with subject or body 'help' to
> > moose-dev-request(a)iam.unibe.ch
> >
> > You can reach the person managing the list at
> > moose-dev-owner(a)iam.unibe.ch
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of Moose-dev digest..."
> >
> >
> > Today's Topics:
> >
> > 1. Re: dirty packages in Moose image (Stephan Eggermont)
> > 2. Re: view of graph in glamour (Alexandre Bergel)
> > 3. Code city and GToolkit in configuration browser? (Yuriy Tymchuk)
> > 4. Re: Code city and GToolkit in configuration browser? (Tudor Girba)
> > 5. Re: FamixDiff over-writing methods in Moose (Nicolas Anquetil)
> > 6. PetitParser stable. (Yuriy Tymchuk)
> >
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Mon, 19 May 2014 23:14:22 +0200
> > From: Stephan Eggermont <stephan(a)stack.nl>
> > Subject: [Moose-dev] Re: dirty packages in Moose image
> > To: Moose-related development <moose-dev(a)iam.unibe.ch>
> > Message-ID: <8FD52969-A5BF-468D-9797-BFB43033453B(a)stack.nl>
> > Content-Type: text/plain; charset=us-ascii
> >
> > #development of Magritte refers to version32, which refers to Grease
> 1.1.6
> > Grease has promoted 1.1.8 to both stable and development.
> >
> > Stephan
> >
> >
> > ------------------------------
> >
> > Message: 2
> > Date: Mon, 19 May 2014 18:52:14 -0400
> > From: Alexandre Bergel <alexandre.bergel(a)me.com>
> > Subject: [Moose-dev] Re: view of graph in glamour
> > To: Moose-related development <moose-dev(a)iam.unibe.ch>
> > Message-ID: <DC594893-BAAB-4C00-8354-86182EAF1FF5(a)me.com>
> > Content-Type: text/plain; charset=windows-1252
> >
> > You can simply send the message focusOnCenter to the ?builder view
> canvas camera?.
> >
> > Try the ?center? button in this example:
> >
> > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> > | movies builder table |
> > table := GET2Table from: 'Movie;Genre;Production Budget;Total Domestic
> Box Office;Rating IMDB
> > Avatar;Action;425000000;760507625; 8.0
> > The Blind Side;Drama;35000000;255959475; 7.6
> > The Chronicles of Narnia: The Lion, the Witch and the
> Wardrobe;Adventure;180000000;291710957; 6.9
> > The Dark Knight;Action;185000000;533345358; 9.0
> > ET: The Extra-Terrestrial;Drama;10500000;435110554; 7.9
> > Finding Nemo;Adventure;94000000;380529370; 8.1
> > Ghostbusters;Comedy;30000000;238632124; 7.8
> > The Hunger Games;Thriller/Suspense;80000000;408010692; 7.2
> > Iron Man 3;Action;200000000;396702239; 7.6
> > Jurassic Park;Action;63000000;395708305; 8.0
> > King Kong;Adventure;207000000;218080025; 7.3
> > The Lion King;Adventure;79300000;422780140; 8.4
> > Monsters Inc.;Adventure;115000000;289423425; 8.0
> > The Twilight Saga: New Moon;Drama;50000000;296623634; 4.5
> > Oz the Great and Powerful;Adventure;200000000;233671832; 6.6
> > Pirates of the Caribbean: Dead Mans Chest;Adventure;225000000;423315812;
> 7.3
> > Quantum of Solace;Action;230000000;169368427; 6.7
> > Raiders of the Lost Ark;Adventure;20000000;248159971; 8.7
> > Star Wars Ep. I: The Phantom Menace;Adventure;115000000;474544677; 6.5
> > Titanic;Thriller/Suspense;200000000;658672302; 7.6
> > Up;Adventure;175000000;293004164; 8.3
> > The Vow;Drama;30000000;125014030; 6.7
> > The War of the Worlds;Action;132000000;234280354; 6.5
> > X-Men: The Last Stand;Action;210000000;234362462; 6.8
> > Youve Got Mail;Drama;65000000;115821495; 6.3
> > Zookeeper;Romantic Comedy;80000000;80360866; 5.0'.
> > movies := table asDataSet.
> >
> > builder := GET2Scatterplot data: movies.
> > builder
> > x: [:m | (m at: 'Production Budget') / 1000000];
> > y: [:m | (m at: 'Total Domestic Box Office') / 1000000];
> > r: [:m | (m at: 'Rating IMDB') * 5];
> > color: (Color brown alpha:0.4);
> > height: 400;
> > width: 800.
> >
> > builder xAxis title: 'Production Budget'.
> > builder yAxis title: 'Total Domestic Box Office'.
> > builder showValues: [:m | m at: 'Movie'].
> > builder interaction strongHighlightWhenOver.
> > builder view canvas addMenu: 'center' callback: [ builder view canvas
> camera focusOnCenter. builder view signalUpdate ].
> > builder open.
> > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> >
> > Does this help?
> >
> > Cheers,
> > Alexandre
> >
> >
> > On May 19, 2014, at 5:03 PM, Fabrice Atrevi <atrevifabrice(a)gmail.com>
> wrote:
> >
> > > Hi,
> > > I added the height and the width but this not resolve the problem.
> > > I got for height 70 the first screen shot and for 140 the second. The
> problem is that when i increase the height, part of graph hidden and i must
> to zoom. How can i center the graph in the middle of panel?
> > >
> > > thanks
> > >
> > >
> > > 2014-05-19 23:39 GMT+07:00 <moose-dev-request(a)iam.unibe.ch>:
> > > Send Moose-dev mailing list submissions to
> > > moose-dev(a)iam.unibe.ch
> > >
> > > To subscribe or unsubscribe via the World Wide Web, visit
> > > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> > > or, via email, send a message with subject or body 'help' to
> > > moose-dev-request(a)iam.unibe.ch
> > >
> > > You can reach the person managing the list at
> > > moose-dev-owner(a)iam.unibe.ch
> > >
> > > When replying, please edit your Subject line so it is more specific
> > > than "Re: Contents of Moose-dev digest..."
> > >
> > >
> > > Today's Topics:
> > >
> > > 1. Jenkins build is back to stable : moose-5.0 #1424
> > > (admin(a)moosetechnology.org)
> > > 2. Re: please stop using strings :) (Alexandre Bergel)
> > > 3. Re: view of graph in glamour (Alexandre Bergel)
> > >
> > >
> > > ----------------------------------------------------------------------
> > >
> > > Message: 1
> > > Date: Mon, 19 May 2014 15:55:39 +0200 (CEST)
> > > From: admin(a)moosetechnology.org
> > > Subject: [Moose-dev] Jenkins build is back to stable : moose-5.0 #1424
> > > To: moose-dev(a)iam.unibe.ch
> > > Message-ID:
> > > <
> 718878653.102.1400507739022.JavaMail.jenk_moose(a)ci-jenkins3.inria.fr>
> > > Content-Type: text/plain; charset=UTF-8
> > >
> > > See <https://ci.inria.fr/moose/job/moose-5.0/1424/>
> > >
> > >
> > >
> > > ------------------------------
> > >
> > > Message: 2
> > > Date: Mon, 19 May 2014 12:33:45 -0400
> > > From: Alexandre Bergel <alexandre.bergel(a)me.com>
> > > Subject: [Moose-dev] Re: please stop using strings :)
> > > To: Moose-related development <moose-dev(a)iam.unibe.ch>
> > > Message-ID: <0A1C5508-3DDD-4DED-80AA-303F661A3E9A(a)me.com>
> > > Content-Type: text/plain; CHARSET=US-ASCII
> > >
> > > I perfectly agree. I think Pablo did this because of an algorithm he
> found and copied it. Untangling the whole thing is relatively straight
> forward.
> > > The starting point is to look at the implementation of #rawPalette in
> the subclasses of ColorPalette.
> > >
> > > I will put this on our todo list.
> > >
> > > Alexandre
> > > --
> > > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> > > Alexandre Bergel http://www.bergel.eu
> > > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> > >
> > >
> > >
> > > On May 18, 2014, at 8:46 AM, Tudor Girba <tudor(a)tudorgirba.com> wrote:
> > >
> > > > Hi,
> > > >
> > > > The ColorPalette in Roassal2 is quite cool, but we should refactor
> the code to not rely on strings.
> > > >
> > > > An example:
> > > > |n elements view|
> > > > n := RTBucketColor numberOfColors: 5 command: #asInteger
> scope: ($a to: $z).
> > > > n colorScheme: 'Blues'.
> > > > elements := (RTBox new size: 20; color: n) elementsOn: ($a to:
> $z).
> > > > view := RTView new.
> > > > view addAll: elements.
> > > > RTGridLayout on: view elements.
> > > > view open.
> > > >
> > > > 'Blues' is actually an identifier that is looked up in all the
> rawPalette keys returned by the subclasses of ColorPalette.
> > > >
> > > > This is not nice. We should have for each palette a method with the
> same name, and the colorScheme: should work with an object like:
> > > > n colorScheme: CPSequential blues
> > > >
> > > > Do we agree on this?
> > > >
> > > > Doru
> > > >
> > > > --
> > > > www.tudorgirba.com
> > > >
> > > > "Every thing has its own flow"
> > > > _______________________________________________
> > > > Moose-dev mailing list
> > > > Moose-dev(a)iam.unibe.ch
> > > > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> > >
> > >
> > >
> > > ------------------------------
> > >
> > > Message: 3
> > > Date: Mon, 19 May 2014 12:39:18 -0400
> > > From: Alexandre Bergel <alexandre.bergel(a)me.com>
> > > Subject: [Moose-dev] Re: view of graph in glamour
> > > To: Moose-related development <moose-dev(a)iam.unibe.ch>
> > > Message-ID: <E26A3FFE-2275-412D-BAD1-ABCBF6600212(a)me.com>
> > > Content-Type: text/plain; charset="iso-8859-1"
> > >
> > > You can use #height: and #width: to a builder to set a particular
> size. Try this:
> > >
> > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> > > | builder normalizer data |
> > > data := (1 to: 100) collect: [ :i | Array with: i with: 20
> atRandom + 30 ].
> > >
> > > normalizer := RTNColorLinearNormalizer
> > > inContext: data withCommand:
> #second lowColor: Color paleRed highColor: Color blue.
> > >
> > > builder := GET2Line data: data.
> > > builder
> > > x: #first;
> > > y: #second;
> > > lineWidth: 2;
> > > dotColor: [ :v | (normalizer rtValue: v) alpha: 0.5];
> > > dotSize: 15;
> > > height: 100;
> > > width: 150.
> > >
> > >
> > > builder build.
> > > builder view
> > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> > >
> > >
> > >
> > > Without specifying height: and width: gives you something like:
> > >
> > >
> > > --
> > > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> > > Alexandre Bergel http://www.bergel.eu
> > > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> > >
> > >
> > >
> > > On May 19, 2014, at 4:42 AM, Fabrice Atrevi <atrevifabrice(a)gmail.com>
> wrote:
> > >
> > > > hi,
> > > > i build a graph in glamour. But, when i run my browser, the graph
> not be at the center of the panel (like in the screen shot) and there are
> not the scroll bar for view properly. Also, i want to label the axis, how
> can i do it?
> > > >
> > > > thanks!
> > > > --
> > > > ATREVI D. Fabrice
> > > > Master en Informatique A l'Institut de la Francophonie pour
> l'Informatique (IFI/Hano?)
> > > >
> <pb_barre_deroulant.PNG>_______________________________________________
> > > > Moose-dev mailing list
> > > > Moose-dev(a)iam.unibe.ch
> > > > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> > >
> > >