Class EdaptCDOViewProvider
- java.lang.Object
-
- org.eclipse.emf.cdo.view.AbstractCDOViewProvider
-
- org.eclipse.emf.edapt.cdo.migration.execution.EdaptCDOViewProvider
-
- All Implemented Interfaces:
org.eclipse.emf.cdo.view.CDOViewProvider
public class EdaptCDOViewProvider extends org.eclipse.emf.cdo.view.AbstractCDOViewProvider implements org.eclipse.emf.cdo.view.CDOViewProvider
A CDO View provider for Edapt. It deals withconnection aware
and canonical URI. It also registers in CDO thepackages
from theresourceset's
package registry. Finally it stores the root resource.CDOView.getRootResource()
as there is no way to obtain it with a connection aware URI.- Author:
- Christophe Bouhier
-
-
Constructor Summary
Constructors Constructor Description EdaptCDOViewProvider()
EdaptCDOViewProvider(String regex)
EdaptCDOViewProvider(String regex, int priority)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.cdo.eresource.CDOResource
getRootResource(String repoName)
Get the root resource for a repository.org.eclipse.emf.cdo.view.CDOView
getView(org.eclipse.emf.common.util.URI uri, org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
-
Methods inherited from class org.eclipse.emf.cdo.view.AbstractCDOViewProvider
getPriority, getRegex, getResourceURI, matchesRegex, setPriority, setRegex
-
-