Hi,
I still use VisualWorks 7.6nc and FAMIX2.1 to analyze Java systems in
Moose. I still have to move to Pharo, sorry...
I am trying to find the connections between Java classes of a software
system. Besides inheritance (which is perfectly recognized), I would
also like to consider other type of relations, such as invocations.
Although many invocations are correctly recognized, there is -at least-
one case which I cannot extract.
For example, if you take ArgoUML 0.28 [0], that I parsed into a MSE file
[1] using inFusion 7.2.7, and consider the class
org.argouml.application.api.Argo [2], you can find this code:
==== ==== ====
[...]
public final class Argo {
[...]
/**
* Key for default startup directory.
*/
public static final ConfigurationKey KEY_STARTUP_DIR =
Configuration.makeKey("default", "user", "dir");
[...]
==== ==== ====
I believe that, between all the invocations done by this Argo class,
there should be the invocation to the method
"makeKey(String,String,String)" that belongs to the class Configuration.
However, if I call "outgoingInvocations" on the FAMIX Class representing
the Java class Argo, I cannot get this invocation.
It is possible that this problem is not caused by Moose, but by the
generation of the MSE file: I manually looked for the Argo class inside
the MSE file [1]. I found that it has id = 202. I looked at all the
references (idref: 202) to this id. I could find 4 connections to all
the methods of this class, many connections to all the attributes of
this class, but no reference to this "makeKey" method invocation.
Is this problem caused by the fact that the method invocation is in the
main body of the class? What happens if such an invocation is to be
found inside a class method, is it correctly recognized?
Thank you in advance.
Ciao,
Alberto
[0]
http://www.inf.usi.ch/phd/bacchelli/research/argouml/2009-03-23-argoUML_0.2…
[1]
http://www.inf.usi.ch/phd/bacchelli/research/argouml/2009-03-23_argoUML_0.2…
[2] http://www.inf.usi.ch/phd/bacchelli/research/argouml/Argo.Java
Hi Geert,
Thanks for the suggestion. I created a Nabble mailing list:
http://n3.nabble.com/moose-dev-f97923.html
Cheers,
Doru
On 19 Dec 2009, at 18:22, Geert Claes wrote:
> Could you add moose-dev on Nabble for those who prefer to follow
> moose online rather than via email?
> _______________________________________________
> Moose mailing list
> Moose(a)iam.unibe.ch
> https://www.iam.unibe.ch/mailman/listinfo/moose
--
www.tudorgirba.com
"Every thing has its own flow."
Hi all,
2 short ones:
If I have a FAMIXNamespace, how do I obtain a reference to the model
that contains this namespace?
FAMIXNamespace has child scopes instead of namespaces, which makes it
ugly to define a Glamour tree view on models and their namespaces. I
have therefore added the code below, I think it would be a good idea
to add that to the core as well.
FAMIXNamespace>>allNamespaces
^ self childScopes
--
Johan Fabry
jfabry(a)dcc.uchile.cl - http://dcc.uchile.cl/~jfabry
PLEIAD Lab - Computer Science Department (DCC) - University of Chile
Hi all,
I've tried today the latest Moose version (the Squeak based one) -
http://moose.unibe.ch/resources/download/moose-suite-4_0-beta-2.app.zip
I've extracted a famix 3 mse with the latest inFusion (build Dec 21) and
tried to import it into Moose.
But I get a lot of errors: 'Element ''FAMIX.PrimitiveType'' not found.' and
a lot of 'Error(Object)>>doesNotUnderstand: #createInstance'
Can somebody help me out here, please.
Thanks,
Adrian Dozsa
I get an infinite loop of exceptions in the Moose Finder when I load Moose into the latest Pharo.
LazyMorphTreeMorph does not understand keyboardFocusOnMouseDown ...
Sleuthing shows:
MorphTreeMorph>>mouseEnter: event
"Changed to take keyboardFocusOnMouseDown preference into account."
super mouseEnter: event.
self wantsKeyboardFocus ifFalse: [^self].
self keyboardFocusOnMouseDown
ifFalse: [self takeKeyboardFocus]
But keyboardFocusOnMouseDown is not implemented anywhere in the system.
What gives?
Alain, it seems this method comes from you. What gives? I am unsure what to do ...
- on
The current selection schema in the moose finder is annoying: I can select one item, I can shift-select a range of items, but I can not select some items in the list. I guess it's related to something in the morphic tree widget, but what are the plans to solve that?
--
Simon
Comment of Version Mondrian-Alexandre_Bergel.315 is:
-=-=-=-=-=-=-=-=-=-=-=-=
-added a reference of the viewRenderer to each announcement. This is
useful when a window update is needed
- added new interaction methods on MOAnnouncer (highlightWhenOver.
highlightWhenOver:, stronghigHlightWhenOver)
- Added new examples related to interaction on MOEaselHelp
- Added new tests for the interaction
- Make nodeForDomainValues more flexible
-=-=-=-=-=-=-=-=-=-=-=-=
Try the following:
-=-=-=-=-=-=-=-=-=-=-=-=
| view nodes |
view := MOViewRenderer new.
view interaction strongHighlightWhenOver: [:v | {v - 1 . v + 1. v +
4 . v - 4}].
view shape rectangle
width: 40;
height: 30;
withText.
nodes := view nodes: (1 to: 16).
view gridLayout gapSize: 2.
view open.
-=-=-=-=-=-=-=-=-=-=-=-=
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi Alex,
I would need to be able to export Mondrian visualizations to files. I
somehow recall a discussion in which it was explain how to do it, but
I could not find my way. Is it supported?
Cheers,
Doru
--
www.tudorgirba.com
"We cannot reach the flow of things unless we let go."
Several important improvements.
From the user perspective:
- added a two new buttons, each offering a menu and a help
- export options added (png, bmp, gif, jpeg)
From the developer point of view:
- used Lint to clean the code
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.