Dear All,
I would like to know how far are we from getting rid of FAMIX2 in the
Pharo version of Moose? FAMIX2 comprises 55 classes and 1084 methods.
I have never used any of these. Jannik, does DSM works on FAMIX3 ?
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi All,
I added a FAMIX2-All in the Moose repository. Loading this file
install all FAMIX2 related files
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Dear All,
Together with Simon and David, we enhanced the OB-based Moose browser.
This was enabled with the last extension of OB to render morphs.
This means that in addition to Fame and OB, you need to load OB-
Mondrian-Diagrams from wiresong _before_ loading Moose-All.
MooseLoader and PersonalSettings are updated.
When we will have The MooseBrowser based on Glamour, this requirement
will probably be relaxed.
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
It should work for now. Please update to the last version of Moose. If
you encounter problems (especially green tests in a version < 311 that
is not green anymore), let me know.
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Take the one of Simon instead.
I tried to not make Moose depends on FAMIX2, but this is a hell...
Will provide an up-to-date soon
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
I was taking a quick look at DefaultEntityState and I have a few
questions about its purpose, related to the instance variables
declared inside:
- entity: easy enough, link back to the moose entity
- properties: cache for properties like metric values....
- attributes: cache for attributes? (like derived attributes?) why in
a different slot? And why is it an array of Association and not a
dictionary like properties
- groups: cache for groups? But it is currently useless as there is no
accessor to fill it up
--
Simon
Hi all,
When I import packages with references between classes,
I have nothing in myClass1>>outgoingReferences, but there is the good
thing in myClass2>>incomingReferences
Is it the importer which doesn't work ?
Thanks.
Cheers
---
Jannik Laval
PhD Student - Rmod Team - INRIA
Certified Project Management Associate (IPMA)
http://www.jannik-laval.euhttp://rmod.lille.inria.fr
---
Hi All,
David R. and I are playing with Glamour, a cool framework to define
browsers. Currently, the Moose browser @ Pharo uses OB. Although it
works fine, it sticks to the Smalltalk way of browsing code, which we
find a bit limited.
I apology in advance for cutting & pasting code here. We defined the
following method:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
mooseFinder
| browser |
browser := GLMFinder new .
browser list
display: [:each | each entities];
when: [:each | "(each isKindOf: MooseAbstractGroup)" each ==
MooseModel root ].
browser list
title: 'Classes';
display: [:each | each allClasses ];
when: [:each | (each isKindOf: MooseAbstractGroup) and: [each
allClasses notEmpty] ].
browser list
title: 'Methods';
display: [:each | each allMethods ];
when: [:each | (each isKindOf: MooseAbstractGroup) and: [each
allMethods notEmpty] ].
browser list
title: 'Superclasses';
display: [:each | each superclassHierarchyGroup ];
when: [:each | (each isKindOf: FAMIXClass) and: [each
superclassHierarchyGroup notEmpty]].
browser list
title: 'Subclasses';
display: [:each | each subclassHierarchy ];
when: [:each | (each isKindOf: FAMIXClass) and: [each
subclassHierarchy notEmpty]].
^ browser
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
It shows up a small MacOSX-like finder that shows classes,
superclasses and subclasses. Very cool!
Few questions now:
- Lists (Classes, Methods, Superclasses, Subclasses) are statically
defined. In Moose however, these are defined with pragmas. How can we
describe the automatic generations of lists?
- If we want to embed this browser into a bigger one, how do we pass
the right-most selected element ? Using a GLMTableLayoutBrowser, one
would do a "browser sendTo: #outer -> #selectedElement from:
#element" (modulo names). Here, we need something like "browser
sendTo: #outer -> #lastSelection".
Cheers,
David & Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.