I have the code of cassowary and delta blue if you want. Stef On Dec 17, 2009, at 10:25 PM, Hernán Morales Durand wrote:
2009/12/17 Alexandre Bergel <alexandre@bergel.eu>:
Don't you have the '+' and '-' button at the top? Maybe I could rename to 'Zoom +' and 'Zoom -'.
Now I see them. Yes, adding labels would help to get the '+' and '-' symbols more visibility.
What do you mean by constraints? Can you give an example of such a constraint?
There is a very old ThingLab video which is the best demo I've seen:
http://www.cs.washington.edu/research/constraints/videos/thinglab-1978.mov http://www.fit.vutbr.cz/study/courses/OMP/public/software/sqcdrom2/Documents...
With Constraints you will have a way to say: -When a user resizes a window, then mantain the font proportion to stay into the boxes. -When a window is updated with a new figure (a sibling in the UML for example) then update the remaining siblings to preserve symmetry, etc.
Summarising, with constraints you say what do you want to achieve, and not how to do it. The layout adjustement algorithm will use constraints to achieve it. There is an implementation of constraints solvers in Squeak called Cassowary
http://www.squeaksource.com/Cassowary.html
Cheers,
Hernán
Alexandre
On 17 Dec 2009, at 21:44, Hernán Morales Durand wrote:
Hi Alex, I've tried the Mondrian script, nice work, it looks something I could integrate to the Dependency Browser. Does Mondrian support zooming? Do you plan to use constraints for the layout? Cheers,
Hernán
2009/12/17 Alexandre Bergel <alexandre@bergel.eu>:
The UML visualization is not lost however.
Doit the following to load Mondrian: Gofer new squeaksource: 'Mondrian'; addPackage: 'ConfigurationOfMondrian'; load. (Smalltalk at: #ConfigurationOfMondrian) perform: #loadLastStable.
and then: MOReadme new umlFor: MOShape withAllSubclasses
You will have a simple uml view that shows hierarchy of MOShape.
Cheers, Alexandre
On 17 Dec 2009, at 13:28, Torsten Bergmann wrote:
Back in "the good old Pharo days" (TM) we had a
ScriptLoader loadSuperOB
and I remember this browser already providing a UML class diagram when you selected a class in the browser ...
Bye T.
-- Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 - sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project