I need other clarifications on the topic of how to handle Java models in Famix.
How should we handle nested classes?
Right now, it appears infusion imports nested classes directly in a namespace, and loses the information about the parent class.
For example, anonymous classes are imported but we get no clue about the defining context, so it's pretty much useless.
Given that namespaces, but also classes and methods can contain types in Famix, why don't we use this attribute?
But then, how to access the namespace of a nested class?
Here is a brief and good overview of the different types of nested classes in Java:
http://blogs.sun.com/darcy/entry/nested_inner_member_and_top
--
Simon
I know that the requirements for mooseName are not completely explicit, however one condition which seems pretty interesting but is not completely enforced right now is that a moose name should be unique.
This is not the case for signatures from languages which provide overloading, like Java.
With infusion for example, SampleClass.method1(int) and SampleClass.method1(String) share the same mooseName SampleClass.method1()
Worse, I have seen cases where you can confuse getter and setter
void SampleCase.attribute(String attr) -> SampleCase.attribute()
String SampleCase.attribute() -> SampleCase.attribute()
Also since the moose finder uses #mooseName to format entities, this shows in the Moose finder.
Maybe we should adopt the convention of using the real signature in the moosename.
--
Simon
Hi,
I am looking into AST-Semantic. I found the one from the http://www.squeaksource.com/rb
.
However, this one does not have the methods:
- RBProgramNode>>isSuper
- RBVariableNode>>isSuper
These are needed for the SmalltalkImporter.
Am I looking at the wrong repository, or are these methods just missing?
Cheers,
Doru
--
www.tudorgirba.com
"When people care, great things can happen."
Hello
I am trying to load Glamour into Squeak 4.1. but run into a problem
completing the loading.
1) Use ConfigurationOfGlamour-tg.38.mcz (21 May 2010) in Squeak 4.1
trunk (or Squeak 4.2alpha updated)
2) Evaluate
ConfigurationOfGlamour loadDefault
3) A warning pops up
This package depends on the following classes:
Announcer
Announcement
(I am not told which package ).
Question: Where do I find the class Announcer and Announcement?
Thank you for the answer in advance.
Hannes
P.S. I tried to ignore this warning and proceeded. It loads quite a
lot but the examples do not work because the class GLMTabulator is not
known.
GLMTabulator seems to be a central class. Maybe I can load it through
other means. I do not necessarily need everyting at this moment. I
would just like to do a few simple examples to explore a net of
objects.
Hello,
I didn't find any issue about this problem, but it surely exist one:
When I import a model with inFusion and then try to export it to MSE, it
raise an error.
In my case, the 'isWrite' instance variable of a FAMIXAccess is not
initialized when importing MSE from inFusion. Then, it generate an error
when trying to export this information.
The problem come from inFusion, and I don't know if someone is already
looking at that? (tell me if I have to open an issue)
I'm trying to set some actions on items in a glamour tree presentation, say:
actions: [:tree | tree selection xMenuItems ]
But #selection called on the widget returns nil. Is this the expected behaviour?
I managed to get what I wanted after diving in the object:
actions: [:tree | tree selectionPath last xMenuItems ]
--
Simon
Hi,
I have improved a bit the drop down list. Its superclass now is GLMFormattedPresentation.
The new versions are:
Glamour-Presentations-VeronicaUquillas.79
Glamour-Morphic-VeronicaUquillas.282
Glamour-Examples-VeronicaUquillas.142
Regards,
Veronica
Hi,
i was looking for the type returned by a java method but i didn't find anything related to it neither in the FAMIX MM nor in the MSE file generated by inFusion. Is this information available in the meta model?
Cheers,
Fabrizio
hi thorsten
Good to hear about you. We made huge progress since then :)
Now for PHP we do not have an importer but I imagine about a week of work to get one using fame and PHP knowledge.
I imagine that we some incentives we could find some ways to have this support. :)
tell us more
Stef
> hello,
>
> i have just a short question. i know moose from my good old smalltalk times, but i'm currently need to reorganize a huge php project. are you supporting php code as well?
>
> best regards
>
> thorsten dittmar
> _______________________________________________
> Moose mailing list
> Moose(a)iam.unibe.ch
> https://www.iam.unibe.ch/mailman/listinfo/moose