HI doru
I have a list of functions, I select the source tab to see its source.
Now when I select the next functions, the source tab gets deselected.
Is it possible to get the tab stay accross element navigation when it makes sense?
Stef
Hi all,
I am looking at srcML, and I see that it make XML files from Java and C++ source code.
Since we use it for C source code, it should be possible to make it works with C++ and java.
This strategy allows us to not us a special tool for each language.
What do you think about it ?
Cheers
---
Jannik Laval
Hi!
I have been looking for a method that give me the depth of the class
hierarchy under a particular class. Doru pointed me the method
FAMIXClass>>maxHierarchyOfChildren. But I was not able to make it work.
I imported Morph into moose, and try to send #maxHierarchyOfChildren
to the famix representation of Canvas or Morph. It simply loops.
#maxHierarchyOfChildren and its unique caller (#ahh) are not tested.
I try to look at the implementation of maxHierarchyOfChildren, but it
was a bit obscure to me (almost midnight here :) I decided to write my
own:
-=-=-=-=-=-=-=-=-=-=-=-=
FAMIXClass>>subclassHierarchyDepth
<property: #SHD longName: 'Subclass hierarchy Depth' description:
'The depth of the class hierarchy for which I am the root'>
^ (self directSubclasses isEmpty or: [ self isStub ])
ifTrue: [ 0 ]
ifFalse:
[ | currentMaxDepth|
currentMaxDepth := 0.
self
subclassesDo:
[ :aClass | currentMaxDepth := currentMaxDepth max: aClass
subclassHierarchyDepth ].
1 + currentMaxDepth ]
-=-=-=-=-=-=-=-=-=-=-=-=
Any one can comment on maxHierarchyOfChildren? Does it make sense to
remove maxHierarchyOfChildren and add my subclassHierarchyDepth?
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
I would like really to have a separate windows that would display all the time the
source anchor of the entity under my mouse.
Source is an important artefact and seeing it is important (without getting a new window
or having to click on a menu).
Stef
Hi!
I have a question regarding browseMeta. In the Map depicted in the
lower pane of the browser, I see two distinct hierarchies, where
FAMIXEntity and MooseEntity are the roots, respectively. However,
FAMIXEntity is a subclass of MooseEntity. Why is there two distinct
hierarchies then?
I haven't checked at a deeper level. I am just wondering.
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi!
I am wondering why MooseElement needs a mooseID. By looking at the
sender of mooseID, I can see methods like:
MooseModel>>includes: anItem
anItem isNil ifTrue: [^ false].
^ self includesID: anItem mooseID
and MooseModel class>>ownerOf: element that makes use of mooseID. But
is this really necessary?
Just wondering...
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi Cyrille,
I saw that during your cleaning effort, you commented the york
variable from the method
TheRoot>>accessingUnknowVariable
york is indeed undeclared, but this is done intentionally because we
want to be able to test such situations :).
Cheers,
Doru
--
www.tudorgirba.com
"Speaking louder won't make the point worthier."
Hi Cyrille,
Thanks for cleaning the entity state and its usage.
This kind of work typically goes unnoticed, but it is so important for
keeping the infrastructure nice and tidy.
Just one note: when you do such core structural changes, please let
the others know what they should do to comply :)
Cheers,
Doru
--
www.tudorgirba.com
"What is more important: To be happy, or to make happy?"