org.eclipse.gmt.modisco.infra.facet.core
Class FacetSetCatalog
java.lang.Object
EcoreCatalog
org.eclipse.gmt.modisco.infra.facet.core.FacetSetCatalog
public final class FacetSetCatalog
- extends EcoreCatalog
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REGISTRATION_EXTENSION_POINT_ID
public static final java.lang.String REGISTRATION_EXTENSION_POINT_ID
- See Also:
- Constant Field Values
FILE_EXTENSION
public static final java.lang.String FILE_EXTENSION
- See Also:
- Constant Field Values
getSingleton
public static FacetSetCatalog getSingleton()
getEPackageToDefaultFacetSetMap
public java.util.Map<EPackage,java.util.HashSet<FacetSet>> getEPackageToDefaultFacetSetMap()
getFacetSet
public FacetSet getFacetSet(java.lang.String name)
- This method returns the facet set of the resource having for name the
"name" parameter value.
- Parameters:
name
- the name of a resource contained in the catalog
- Returns:
- return a facet set
getDefaultFacetSets
public java.util.Set<FacetSet> getDefaultFacetSets(EPackage ePackage)
- Get the set of default
FacetSet
s that apply to the given
EPackage
.
- Parameters:
ePackage
- the package for which matching FacetSet
s will be
returned
- Returns:
- the set of default
FacetSet
s
getAllFacetSets
public java.util.Collection<FacetSet> getAllFacetSets()
- This methods returns the facet sets of all the resources contained in the
catalog.
- Returns:
- returns all the facet sets
getFileExtension
public java.lang.String getFileExtension()
changed
public void changed(EObject eObject,
IFile file)
added
public void added(EObject eObject,
IFile file)
removed
public void removed(IFile file)