org.eclipse.emf.facet.efacet.core
Interface IFacetManagerFactory


public interface IFacetManagerFactory

Factory for IFacetManager.

Since:
0.2

Field Summary
static IFacetManagerFactory DEFAULT
          The singleton instance of the factory.
 
Method Summary
 IFacetManager getOrCreateFacetManager(Resource resource)
          Create an IFacetManager.
 IFacetManager getOrCreateFacetManager(ResourceSet resourceSet)
          Create an IFacetManager.
 

Field Detail

DEFAULT

static final IFacetManagerFactory DEFAULT
The singleton instance of the factory.

Method Detail

getOrCreateFacetManager

IFacetManager getOrCreateFacetManager(Resource resource)
Create an IFacetManager.

Parameters:
resource - the Resource in which virtual EStructuralFeatures are serialized. Can be null if no EStructuralFeature provided a Facet are used.

getOrCreateFacetManager

IFacetManager getOrCreateFacetManager(ResourceSet resourceSet)
Create an IFacetManager.

Parameters:
resourceSet - the resourceSet which will be used to manage the facet models.