Hi again I can explain youTypeCacheAdapter was a previous contribution managing a cache for elements in a model. Previously when you wanted to select a type in a class (for example) in the dialog providing the list of all the elements assignable to type reference was calculated each time you wanted to assign a type (very slow if the model is huge). With the TypeCacheAdapter, it's long once and after there is cache synchronization to update it when it is needed and it is very faster :)
Nevertheless I will check why it is so long at when a model is opening thank you for your feedback
Tristan Le 12/03/2010 11:13, [email protected] a écrit :
I fix the problem changing this line in Modeler class:
ITypeCacheAdapter existingTypeCacheAdapter =
TypeCacheAdapter.getExistingTypeCacheAdapter(resourceSet);
if (existingTypeCacheAdapter == null
|| !(existingTypeCacheAdapter instanceof TypeCacheAdapter))
(from 3.3.0)
by
if (TypeCacheAdapter.getExistingTypeCacheAdapter(resourceSet) == null)
(from 3.1.0)
By I understand why the orignal lines is the problem ...
Regard
_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users
<<attachment: tristan_faure.vcf>>
_______________________________________________ Topcased-users mailing list [email protected] http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users
