Package org.eclipse.emf.cdo.transfer
Class CDOTransfer.ModelTransferContext
java.lang.Object
org.eclipse.emf.cdo.transfer.CDOTransfer.ModelTransferContext
- Enclosing class:
- CDOTransfer
Encapsulates the model-specific aspects of a
transfer
.- Author:
- Eike Stepper
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Anadapter
for aresource set
that resolves all proxies in all resources when they are loaded. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addModelMapping
(CDOTransferMapping mapping) protected EcoreUtil.Copier
protected ResourceSet
createResourceSet
(CDOTransferSystem system) protected void
getResolution
(URI uri) protected Resource
getSourceResource
(CDOTransferMapping mapping) final ResourceSet
protected Resource
getTargetResource
(CDOTransferMapping mapping) final ResourceSet
final CDOTransfer
protected boolean
hasResourceFactory
(CDOTransferElement source) protected void
perform
(CDOTransferMapping mapping, IProgressMonitor monitor) protected void
performFinish
(IProgressMonitor monitor) void
registerSourceContentType
(String contentType, Resource.Factory factory) void
registerSourceExtension
(String extension, Resource.Factory factory) void
registerSourceProtocol
(String protocol, Resource.Factory factory) void
registerTargetContentType
(String contentType, Resource.Factory factory) void
registerTargetExtension
(String extension, Resource.Factory factory) void
registerTargetProtocol
(String protocol, Resource.Factory factory) protected void
removeModelMapping
(CDOTransferMapping mapping) resolve()
setResolution
(URI uri, CDOTransfer.ModelTransferResolution resolution)
-
Constructor Details
-
ModelTransferContext
-
-
Method Details
-
getTransfer
-
getSourceResourceSet
-
getTargetResourceSet
-
registerSourceExtension
-
registerSourceProtocol
-
registerSourceContentType
-
registerTargetExtension
-
registerTargetProtocol
-
registerTargetContentType
-
getUnmappedModels
-
getResolution
-
setResolution
public CDOTransfer.ModelTransferResolution setResolution(URI uri, CDOTransfer.ModelTransferResolution resolution) -
resolve
-
fireUnmappedModelsEvent
protected void fireUnmappedModelsEvent() -
addModelMapping
-
removeModelMapping
-
getSourceResource
-
getTargetResource
-
createCopier
-
createResourceSet
-
hasResourceFactory
-
perform
-
performFinish
-