public interface IMetadataProvider
| Modifier and Type | Method and Description |
|---|---|
IStatus |
checkMetadata(IFile file)
For a given model file (model, aird, afm), retrieve if the model is fully compatible with the current platform.
|
IStatus |
checkMetadata(org.eclipse.emf.common.util.URI sessionResourceURI,
org.eclipse.emf.ecore.resource.ResourceSet set)
For a given AFM file loaded in a resourceSet, retrieve if the model is fully compatible with the current platform.
|
org.eclipse.emf.ecore.resource.Resource |
createMetadataResource(org.eclipse.emf.transaction.TransactionalEditingDomain domain,
org.eclipse.emf.common.util.URI resourceURI,
IProgressMonitor monitor)
Creates the AFM metadata resource
(This resource will only be created when the aird resource does not exist yet, if the aird resource already exists
then a model migration shall be done)
|
void |
registerMetadataResource(org.eclipse.emf.ecore.resource.Resource resource,
org.eclipse.sirius.business.api.session.Session session,
IProgressMonitor monitor)
Register the given resource to the current session
|
IStatus checkMetadata(IFile file)
IStatus checkMetadata(org.eclipse.emf.common.util.URI sessionResourceURI, org.eclipse.emf.ecore.resource.ResourceSet set)
void registerMetadataResource(org.eclipse.emf.ecore.resource.Resource resource,
org.eclipse.sirius.business.api.session.Session session,
IProgressMonitor monitor)
org.eclipse.emf.ecore.resource.Resource createMetadataResource(org.eclipse.emf.transaction.TransactionalEditingDomain domain,
org.eclipse.emf.common.util.URI resourceURI,
IProgressMonitor monitor)
domain - resourceURI - monitor -