Hi Stef,
I already solved this problem. Take a look at MooseModel>>allClasses
in Squeak:
allClasses
^self entityStorage selectMetaDescription: FAMIXClass.
The #selectMetaDescription is not the best name, but it does the job,
because now the storage does not caches the entities that have the
same type by the metaDescription but it now caches directly based on
the class as key.
I will rename the method back to #selectAllWithType:.
Cheers,
Doru
On Jun 23, 2008, at 9:04 PM, stéphane ducasse wrote:
Hi doru
allClasses
<navigation: 'All classes'>
^self allWithType: FAMIXClass asMetaDescription
I do not know how I can define asMetaDescription because I do not want
to import Meta in Squeak :(
So I still cannot run the tests of the importer.
So I will define my own methods to be able to query the model.
Do you know if FMSlot are available again because the only tests that
worked before just broke :(
Stef
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
www.tudorgirba.com
www.tudorgirba.com/blog
"There are no old things, there are only old ways of looking at them."