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


public interface ICatalogManager


Method Summary
 boolean canBeManaged(EObject root)
          Return true if the eObject can be managed as a catalog entry.
 void manage(EObject root)
          This method is called by CatalogSetManager when a model registration that can be managed according to canBeManaged, is detected while loading.
 void setCatalogSet(CatalogSet catalogSet)
          This method is called by the CatalogSetManager after the instantiation of this ICatalogManager.
 

Method Detail

canBeManaged

boolean canBeManaged(EObject root)
Return true if the eObject can be managed as a catalog entry.

Parameters:
root -
Returns:

manage

void manage(EObject root)
This method is called by CatalogSetManager when a model registration that can be managed according to canBeManaged, is detected while loading.

Parameters:
root - a model (actually, root element of the model) that should be added to the catalog

setCatalogSet

void setCatalogSet(CatalogSet catalogSet)
This method is called by the CatalogSetManager after the instantiation of this ICatalogManager. This method must attach the catalog(s) managed by this ICatalogManager to the given catalogSet.

Parameters:
catalogSet - the CatalogSet to which the catalog managed by this ICatalogManager should be attached