When I tried to load it, I have a lot of question whether I want to
load older dependencies.
Jannik, did you do an update before saving ? Just asking...
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Please test. I left the bug open in the google code site. Be the first
to close it if the bug is solved for you.
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi Jannik,
I took a quick look at Moose-Cook. It looks nice, but I think it would
fit better in Famix-Extensions. What do you think?
Cheers,
Doru
--
www.tudorgirba.com
"It's not how it is, it is how we see it."
Hi,
I am happy to announce that all Moose and Glamour related tests are
green (820 in total).
Cheers,
Doru
--
www.tudorgirba.com
"No matter how many recipes we'll know, we'll still value a chef."
Dear List,
I produced a mse 3.0 file for Swing. Loading it in PhaMoose produces
an error. #outgoingAccesses is sent to a famix class.
Does it not make sense to ask a class for it outgoing accesses ?
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi,
I am happy to announce that with the great help of Jorge, we now have
a first working version of a Moose Finder based on Glamour. Some of
the features:
- you get a menu for each item you select in the group view or in the
entity view. This menu is rendered based on the menuItem:category: or
menuItem: pragmas.
- in the group view you can search for your entities using Smalltalk.
For example, "each numberOfMethods > 1" applied on classes will get
you the classes that have more than 1 method. There is a known issue
consisting in the selection not being shown on the current pane.
However, you do get the selection on the next pane.
- in the Editor pane you get an experimental editor based on Magritte.
The editing does not quite work yet, but you get an idea of all
properties.
- in the Evaluator pane, you get the option of writing a script whose
result can be spawned on the next pane. For example, if opened on the
group of classes, "self flatCollect: #methods" will return all the
methods of these classes. To get it in the next pane you have to
select it and press Apple+o. There is a known issue in that every time
you change something, you have to press Apple+s to tell Morphic that
something changed.
- For a FAMIXClassGroup, you also get a Complexity tab
- For a FAMIXClass you also get a Blueprint tab
To give it a try, just call "openInMoose" on your favorite model, or
Moose object. Feedback is more than welcome :).
Of course, you should get the latest versions of Moose-Finder and
Glamour, but probably best would be to update the complete Moose with:
ScriptLoader loadLatestPackage: 'MooseLoader' from: 'http://www.squeaksource.com
'.
(Smalltalk at: #MooseLoader) load
Cheers,
Doru
--
www.tudorgirba.com
"There are no old things, there are only old ways of looking at them."
Hi,
Over the past couple of days I worked on some more detailed
dependencies between Moose packages in Pharo. The generic code for
expressing and loading dependencies is based on the work of Lukas and
Jorge (Gofer and Flair from http://source.lukas-renggli.ch). In the
process we created a small DSL for expressing dependencies.
To get an idea, you can load the Moose distribution via:
MooseLoader load.
There is only one small problem in that Famix-Smalltalk just does not
want to load for some reason still to be identified. Other than that,
you can now inspect the graph of dependencies via:
MooseLoader all.
I attached here a Mondrian visualization of the dependencies. With
red, I marked the packages that have newer versions in Monticello. If
you load MondrianPaintings, you can also get the visualization via:
MOSmalltalkPaintings new viewFlairLoadable: MooseLoader all
Cheers,
Doru
--
www.tudorgirba.com
"Being happy is a matter of choice."
Hi Mariano,
Mondrian is an engine for scripting visualizations of arbitrary
models. You start from a set of objects and you specify how you want
to display them.
Instead of going for hardcoded scripts, I suggest taking a look at the
scripting capabilities. Take a look here for an example (although the
example is for VW it largely works the same in Pharo):
http://moose.unibe.ch/tools/mondrian/tour
So, to answer your questions:
1) yes, you just have to connect the proper nodes with the desired edges
2) yes, you can specify exactly what objects you want to be displayed
Please let us know if you get more questions.
Cheers,
Doru
p.s. I think best would be to continue the conversation on the moose-dev(a)iam.unibe.ch
mailing list.
On 30 Jul 2009, at 15:43, Mariano Martinez Peck wrote:
> First of all, let me know if there is a better place to ask
> questions related to Mondrian.
>
> I am preparing my ESUG presentation and I am a bit lazy to some UML
> diagrams. I would like to do a reverse engineer of my code. The main
> problem is that most (if not all) UML software are with "java style"
> using () in methods and you cannot import smalltalk code. So, I want
> to give Mondrian a try.
>
> I loaded it into Pharo and draw the classes I need, using something
> like this:
>
> MOReadme new umlFor: self myClassesToDraw
>
> The thing is that only "inherits" relationship is drawn. Now I wonder:
>
> 1) can I draw by hand associations and dependencies between classes ?
>
> 2) Is there a way to show only some methods instead of ALL of them ?
>
> Thanks,
>
> Mariano
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
--
www.tudorgirba.com
"It's not how it is, it is how we see it."