org.eclipse.emf.facet.util.emf.core
Interface ICatalogSetManager


public interface ICatalogSetManager


Field Summary
static ICatalogSetManager INSTANCE
          The singleton instance of this ICatalogSetManager.
 
Method Summary
 Bundle getBundleByResource(Resource eResource)
          Return the bundle containing the file from which we have created the given resource.
 CatalogSet getCatalogSet()
          This method returns the CatalogSet object which contains all the registered catalogs.
 void registerModelDeclaration(IFile file)
          This method takes a FacetSet file to register it as a "modelDeclaration" extension in its containing plug-in.
 

Field Detail

INSTANCE

static final ICatalogSetManager INSTANCE
The singleton instance of this ICatalogSetManager.

Method Detail

getCatalogSet

CatalogSet getCatalogSet()
This method returns the CatalogSet object which contains all the registered catalogs.

Returns:
the set of registered Catalogs

getBundleByResource

Bundle getBundleByResource(Resource eResource)
Return the bundle containing the file from which we have created the given resource.

Parameters:
eResource -
Returns:
the Bundle matching the given resource.

registerModelDeclaration

void registerModelDeclaration(IFile file)
                              throws InvalidFacetSetException
This method takes a FacetSet file to register it as a "modelDeclaration" extension in its containing plug-in.

Parameters:
file - the file to be registered as a "modelDeclaration"
Throws:
InvalidFacetSetException