org.eclipse.ocl.examples.pivot.utilities
Interface TypeManager.Factory

Enclosing class:
TypeManager

public static interface TypeManager.Factory


Method Summary
 boolean canHandle(org.eclipse.emf.ecore.resource.Resource resource)
          Return true if this factory can handle creatio of a Pivot resource from the available resource.
 void configure(org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
          Configure the TypeManager's external ResourceSet.
 Element importFromResource(TypeManager typeManager, org.eclipse.emf.ecore.resource.Resource resource, java.lang.String uriFragment)
          Return the root element in the Pivot resource resulting from import of the available resource.
 

Method Detail

canHandle

boolean canHandle(org.eclipse.emf.ecore.resource.Resource resource)
Return true if this factory can handle creatio of a Pivot resource from the available resource.


configure

void configure(org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
Configure the TypeManager's external ResourceSet. Implementations may install any required extension or content to factory mappinmgs in the resource factory registry.

Parameters:
resourceSet -

importFromResource

Element importFromResource(TypeManager typeManager,
                           org.eclipse.emf.ecore.resource.Resource resource,
                           java.lang.String uriFragment)
Return the root element in the Pivot resource resulting from import of the available resource.

Parameters:
uriFragment -