org.eclipse.m2m.qvt.oml.runtime.util
Class QvtoTransformationHelper
java.lang.Object
org.eclipse.m2m.qvt.oml.runtime.util.QvtoTransformationHelper
public class QvtoTransformationHelper
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QvtoTransformationHelper
public QvtoTransformationHelper(org.eclipse.emf.common.util.URI transfUri)
- Parameters:
transfUri
- uri of the transformation script:
files like file:/
platform resources like platform:/resource/
platform plugins like platform:/plugin/
QvtoTransformationHelper
public QvtoTransformationHelper(org.eclipse.core.resources.IFile qvtoFile)
executeTransformation
public QvtoTransformationHelper.TransfExecutionResult executeTransformation(java.util.List<? extends org.eclipse.emf.ecore.EObject> inObjects,
java.util.Map<java.lang.String,java.lang.Object> inConfigProperties,
org.eclipse.emf.ecore.resource.ResourceSet metamodelResourceSet)
throws org.eclipse.core.runtime.CoreException
- Throws:
org.eclipse.core.runtime.CoreException
getImportedTransformations
public java.util.List<org.eclipse.emf.common.util.URI> getImportedTransformations()
throws org.eclipse.core.runtime.CoreException
- Returns:
- List(Transformation File URI)
- File URI is workspace-relative created with URI.createPlatformResourceURI() call
- All returned file URIs necessarily belong to single workspace plugin
- Throws:
org.eclipse.core.runtime.CoreException
- in case file URI cannot be converted to workspace-relative scheme
getInputModelExtensions
public java.util.List<java.lang.String> getInputModelExtensions()
throws org.eclipse.core.runtime.CoreException
- Throws:
org.eclipse.core.runtime.CoreException