Hi, Which would be the best way to model in FAMIX connections caused by poolDictionaries? For example: ArrayedCollection subclass: #Text instanceVariableNames: 'string runs' classVariableNames: '' poolDictionaries: 'TextConstants' category: 'Collections-Text'
Text can access the class TextConstants becuse specified in its pool dictionary. where should I store the information that TextConstants is in the pool dictionary of Text?
Thanks and cheers, Fabrizio
Hi, Which would be the best way to model in FAMIX connections caused by poolDictionaries? For example: ArrayedCollection subclass: #Text instanceVariableNames: 'string runs' classVariableNames: '' poolDictionaries: ’TextConstants’ category: 'Collections−Text'
Text can access the class TextConstants becuse specified in its pool dictionary. where should I store the information that TextConstants is in the pool dictionary of Text?
I do not remember how I dealt with that.
I would model them as in Pharo where a pool Dictionary is a class and its key are class variables. This way we do not introduce anything special.
So I would model TextConstant as a class and the keys of the dictionary as variables with "global" scope of TextConstants
Tell me if it makes sense
Stef
2013/2/28 stephane ducasse stephane.ducasse@free.fr
Hi, Which would be the best way to model in FAMIX connections caused by
poolDictionaries?
For example: ArrayedCollection subclass: #Text instanceVariableNames: 'string runs' classVariableNames: '' poolDictionaries: 'TextConstants' category: 'Collections-Text'
Text can access the class TextConstants becuse specified in its pool
dictionary. where should I store the information that TextConstants is in the pool dictionary of Text?
I do not remember how I dealt with that.
I would model them as in Pharo where a pool Dictionary is a class and its key are class variables. This way we do not introduce anything special.
So I would model TextConstant as a class and the keys of the dictionary as variables with "global" scope of TextConstants
Tell me if it makes sense
Hi Stef, this would be fine but what about the relationship between Text and TextConstants given by the fact that TextConstants is in the poolDictionary of Text?
This "static scope" information would be interesting to record. It is not a containment it is more like visibility. Is there such a thing model in the FAMIXClass hierachy already?
Cheers, Fabrizio