[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.emf] Re: EPackage.Registry

Alex,

Comments below.

Alex Boyko wrote:
Hi Ed,

One of the recent changes to the registry is that after calling XXXEPackage.eINSTANCE the registry still contains an instance of descriptor and not an instance of EPackage as GMF MetaModelManager assumes.
How does this assumption manifest itself?
I wonder how do we adopt this now in GMF...
Given the lack of detail, I'll only have to wonder as well.
Is there anyway to find out whether the descriptor has been resolved or not (aside checking if class has been loaded i guess)?
Call getEPackage and it will be resolved.
So we don't load unnecessary plugins by resolving all packages in the registry...
Call get and check if it's an instance of a descriptor.
Any help is appreciated.
I'm just not sure what the problem is...
Thanks in advance.

Cheers,
Alex