public class ResourceConversionUtil
extends java.lang.Object
Constructor and Description |
---|
ResourceConversionUtil() |
Modifier and Type | Method and Description |
---|---|
static org.eclipse.core.resources.IResource |
convertToIResource(org.eclipse.emf.ecore.resource.Resource res)
converts Resource into corresponding IResource without use of registry.
|
static org.eclipse.emf.common.util.URI |
getInstanceModelURI(SystemImplementation si) |
static org.eclipse.core.resources.IFile |
getOsateIFile(org.eclipse.emf.common.util.URI resourceURI)
return the IPath for the path.
|
public static org.eclipse.core.resources.IResource convertToIResource(org.eclipse.emf.ecore.resource.Resource res)
res
- Resourcepublic static org.eclipse.core.resources.IFile getOsateIFile(org.eclipse.emf.common.util.URI resourceURI)
resourceURI
- The URI of the Resourcejava.lang.IllegalArgumentException
- Thrown if the URI is does not use the "platform:"
protocol.public static org.eclipse.emf.common.util.URI getInstanceModelURI(SystemImplementation si)