I am trying to create custom visulizations with Mondrian using the scripts
described in "Mondrian: An Agile Information Visualization Framework", but I
am not able to execute this script...
*view := ViewRenderer new.
view nodes: model classes using: RectangleShape withBorder.
view open.*
I have tried "model allClasses" as well, but it says there is no model
class.
Hi,
currently opposites are described as
opposite and opposite+derived. This can be one->one, one->many,
many->one and many->many. We
can easily generate code which handles all those different cases.
Secondly, when we are writing out instances of fm3-described classes; we
know when attributes
have an opposite. There the derived is quite unimportant; since it is
just a hint to the writer "which" of
the 2 opposites it should write and which it should derive. However,
since you can
generate code which takes all different cases into account, writing it
out (and reading it in) either way is
possible. The opposite can be filled in from either of the available
relationships. So which opposite you
file out could be chosen randomly. Coming to my point: do attributes
which have an opposite need a
derived statement? Isn't it more logical that only real algorithmic
"attributes" are derived? When choosing
automatically you will only have to take care that if an opposite is its
own opposite (the opposite of the
attribute "opposite" in fm3.Property is like this; that's probably the
only case :)), that it always gets written.
#(((
#This fact would again strengthen my case that the opposite of an
opposite should not necessarily be
#declared as an opposite in the MSE file. Nor should the type be in
either of them. If we find (prop (id: 2)
#(opposite (idref: 1))), then we should automatically do (objectAtId:
1).setOpposite(objectAtId: 2),
#which sets the owner of (objectAtId: 2) as it's type, sets the type of
the (objectAtId: 2) as the owner of
#(objectAtId: 1); and then sets (objectAtId: 2) as the opposite of
(objectAtId: 1)
#
#---->> if you use an opposite-declaration for an attribute; you have 1
statement instead of 5 for which 4 are
#redundant ----> less redundancy => better performance
#)))
any ideas / comments? Does this seem right / clean?
cheers,
Toon
Dear list,
Is there no way to describes an interface in FAMIX?
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Dear list,
I wanted to graphically render a model using Mondrian. However It
seems that Meye06a is a bit out of sync with the current
implementation (feel free to say that I am wrong :-).
When I open the easel, in the pane where I am supposed to script the
variable 'model' does not seems to be known.
I tried to cut and paste the following script (extracted from the
paper) but it is not accepted by the easel:
-=-=-=-=-=-=-=-=-=-=-=-=
view := ViewRenderer new.
view nodes: model classes
using: (Rectangle withBorder height: #NOM; width: #NOA).
view edges: model inheritances
using: (Line from: #superclass to: #subclass).
view layout: TreeLayout new.
view open.
-=-=-=-=-=-=-=-=-=-=-=-=
How can I draw the UML diagram for a given model?
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Dear all,
I am populating the model with some elements obtained from a java file.
The moose GUI shows every single entities in the list of models. Is
this intended ?Is this normal?
http://www.iam.unibe.ch/~bergel/moose.tiff
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi
I'm about to write a new package reference plugin for moose.
Now I have to pay attention because of the way namespaces and
packages are orthogonal in Smalltalk.
I have a question:
when we will be loading java code in Moose what will be a Java package?
a moose namespace or a moose package?
If this is a namespace then I will have certainly to duplicate the
logic in package and namespace and I would like
to avoid that. Does anybody have an idea how to avoid that?
Stef
Hi doru
with azadeh we would to use group to represent the intermediate
result of applying a filter
on a model. Now the problem I have is that I cannot query a group as
model (may be I'm wrong).
Apparently a group a class does not understand allClasses.
Is there a way that we can define/or get the behavior of a model on a
group?
Stef
Dear MOOSEers,
As an exercise, I am parsing Java files and loading the corresponding
Java classes in a moose model.
Whereas it seems that I fill the model well, I got a rollback when
using the Moose GUI façade.
I spend some time on it, but I failed in trying to debug it.
It seems that a famix element should know about the model it is part
of. But I do not know how to set it.
the error comes from the method:
FAMIXAbstractStruture >>incomingAccesses
^self entityGroups at: #incomingAccesses ifAbsentPut: [self
mooseModel allAccesses select: [:each | each accesses = self]].
self mooseModel returns nil
If you want to try, you can load the package JavaSupport4Moose in the
SCGStore.
I attached a short java file to try this. Once the package loaded,
click on the "..." button in the Moose GUI.
The test Java4MOOSETest>>testReadingJavaFile is green
cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
that file (the version I took from the MSE4Java) doesn't seem to comply
to the MSE-specification.
Element-node with (id: 29) uses (name Transcript) while this should be
(name 'Transcript').
I hope that other readers than the one I am writing for python, also
break on this?
Then I saw that there are still some specification-errors on the
MSE-spec website (<boolean, <path> is
still used but not defined)
cheers,
toon
I am working on the handling of primitives in FM3 and Famix 3, and
would like to make a small survey on how primitives had been used in
Famix 2
- who used the custom primitives fature in Meta?
- who added a custom primitive other than Timestamp/Date/Time?
- which primitives are you missing?
I saw that dates are used in many projects (Chronia, Dude, etc...)
and hence suggest to include them in FM3 as built-in primitives. The
list of primitives is thus
String
Boolean
Number
Date (new)
with MSE format
string ::= ( "'" [^']* "'" )+
boolean ::= "true" | "false"
date ::= digit{4} "-" digit{2} "-" digit{2} ( ","digit{2} ":" digit
{2} ":" digit{2} )
number ::= "-"? digit+ ( "." digit+ )? ( "e" ( "-"? digit+ ))?
@toon, can you extend the MSEParser in Smalltalk to recognize this
token? I have only poor Store access here.
cheers,
AA
Hi Adrian,
There was an error in Moose due to HapaxModel being missing in the
last version of Hapax. So, I just published a branch with the removed
extension. Please, just add it back when it's fixed.
Doru
--
www.tudorgirba.comwww.tudorgirba.com/blog
"Every successful trip needs a suitable vehicle."
hi Doru
what is the first version of moose the old that was completely BSD?
I want to know the price that I have to pay not to have code with
funny license in moose.
I'm sorry but I start to be really pissed off by the situation and
the attitude of adrian.
So if he wants to play alone and build a great system perfect.
Now as a community we should react and I start to be really pissed
off by such a childish
atttitude. So if adrian does not know how to respect other people
what can I say.
I would really like to see this issue resolve. Else I will really do
a campaign against moose
and the foundation and all the shit around.
First I decided that I will quit the board because I REALLY HAVE
SOMETHING ELSE TO DO
Stef
Hi
I'm trying to understand why I totally misunderstood the meaning of
the lists.
So I checked but I could not find any information.
Apparently
From: Majordomo(a)iam.unibe.ch
Subject: Welcome to moose-dev
Date: 23 avril 2003 03:38:51 HAEC
To: ducasse(a)iam.unibe.ch
Reply-To: Majordomo(a)iam.unibe.ch
the first email about moose is around 2 of september for me but I
could not find anywhere a statement.
I checked on the https://www.iam.unibe.ch/mailman/listinfo/moose
and this is not clear either to me.
Now I see that on the new web page:
But this was not clear to me before today that moose was for the board.
May I suggest (politely) that we tag the moose mail with [Board] it
really helps for the squeak board foundation.
Stef
PS: doru I could not find a way to modify this page I logged in but
culd not edit it. I'm not prof anymore. I lost this beautiful status.
I'm research director which means nothing. So could you remove the prof.
Association
We are proud to announce, that the Moose Association has been founded
at ESUG in Lugano, on August 30, 2007
The Moose Association is a non-proft association based on Swiss law.
The purpose of the association is to strengthen the Moose community
and to promote Moose and FAMIX as open-source technology and research
platform. Membership is open to any researcher or professional with
an interest in Moose, Mondrian, Famix, or software analysis in general.
To register as a member, please drop a mail to akuhn(a)iam.unibe.ch.
Membership fee is CHF 20.- (12 Euro, $18) for researchers, and CHF
100.- (60 Euro, $90 ) for non-reasearchers. Companies are welcome for
sponsorship.
The executive board constitutes of
Prof. Dr. Stephane Ducasse
Prof. Dr. Michele Lanza (vice-president)
Dr. Tudor Girba (president)
Dr. Orla Greevy
Adrian Kuhn (treasurer
You can contact the board at
moose(a)iam.unibe.ch
hi
I deprecated mooseUniqueName -> mooseName
and also absoluteFamixName -> mooseName
I published the corresponding bundle after running all the tests and
checking that I did not introduce
any new red tests.
Doru I will merge the idiot new test I added for instanceSide and other
Stef
Hi all
does it make sense for moose to be using packages that are not
published with a compatible license?
What are the licenses of FAME and META?
Stef
Sorry if my question illustrates my ignore in Moose :-)
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi,
I have updated the installer. I tried it on Mac OSX Tiger and it worked.
Please try it and let me know if it worked and on which operating
system you used it on:
- download and unzip:
http://moose.unibe.ch/resources/download/loaderMooseSuite-SCG-
LatestDev.zip
- open a new visualnc image
- load the downloaded parcel
- press the button
Thanks,
Doru
--
www.tudorgirba.comwww.tudorgirba.com/blog
"Being happy is a matter of choice."
testInstanceAndClassSideWhenMergingClassAndMetaclass
| node |
node := self model entityNamed:
#'Root::Smalltalk::ReferenceModel::TheRoot'.
self assert: (self model entityNamed:
#'Root::Smalltalk::ReferenceModel::TheRoot_class' ifAbsent: [nil])
isNil.
self assert: node instanceSide == node.
self assert: node classSide == nil.
nil or node ?
I would prefer node so that we get a circular situation
Stef
Hi
I have the evidence that the importing is not extracting well
references between classes.
Now I run the moose tests and I see 10 ignored 1 failed 2 errors
Two questions:
How can I know which are the ignored tests?
Is there anybody besides us working on references and that may have
noticed a problem?
I will try to pin it down (now I can reproduce it by hand but I want
a test).
Stef