One of those properties required by the mooseFinder is #allRecursiveClassesGroup. Then, in MooseEntity >> propertiesToDisplay, you perform each of those properties: 

  propertiesToDisplay: selectors

| res |
res := OrderedCollection new.
selectors do:[:aSel |
|aProp|
aProp := aSel -> (self perform: aSel). ....

The problem is that #allRecursiveClassesGroup is calling classes, which has not been implemented by CAUnitElement.

2010/5/5 Tudor Girba <tudor.girba@gmail.com>
Hi,

MooseFinder requires only Fame properties defined for the entity. Now, it can be that classes is called from some method of CAUnitElements. Who is sending the message?

Cheers,
Doru



On 5 May 2010, at 11:57, Cyrille Delaunay wrote:

Hello,

When importing C code with CAnalyzer, if you open a mooseFinder on the generated model, select allCAUnitElements and then select anyOne of this CAUnitsElements, it will raise an Error:
"My subclass should have overriden 'classes'".
CAunitElement is a subclass of FAMIXScopingEntity. FAMIXScopingEntity declare the abstract method 'classes' (which make no sense for a CAUnitElement ). Then, it seems that the mooseFinder require this method to browse a CAUnitElement.


_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
www.tudorgirba.com

"Obvious things are difficult to teach."



_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev