Package org.eclipse.emf.cdo.view
Interface CDOViewProvider
- 
- All Known Subinterfaces:
- CDOViewProvider.CDOViewProvider2
 - All Known Implementing Classes:
- AbstractCDOViewProvider,- CDONet4jViewProvider,- CDONet4jViewProvider.JVM,- CDONet4jViewProvider.SSL,- CDONet4jViewProvider.TCP,- CDONet4jViewProvider.WS,- ManagedContainerViewProvider
 
 public interface CDOViewProviderCapable of opening aCDOViewon a target repository, defined by a URI. A regular expression and the priority are used to determine the most suitable provider.- Since:
- 2.0
- Author:
- Victor Roldan Betancort
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static interfaceCDOViewProvider.CDOViewProvider2
 - 
Field SummaryFields Modifier and Type Field Description static intDEFAULT_PRIORITY
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetPriority()Returns the priority of this provider.java.lang.StringgetRegex()Returns the regular expression that determines if the provider can handle certain URIorg.eclipse.emf.common.util.URIgetResourceURI(CDOView view, java.lang.String path)CDOViewgetView(org.eclipse.emf.common.util.URI uri, org.eclipse.emf.ecore.resource.ResourceSet resourceSet)Receives a URI and returns an openedCDOViewagainst the repository.booleanmatchesRegex(org.eclipse.emf.common.util.URI uri)Checks if the URI matches with the regular expression of this provider
 
- 
- 
- 
Field Detail- 
DEFAULT_PRIORITYstatic final int DEFAULT_PRIORITY - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getPriorityint getPriority() Returns the priority of this provider. Usually used to choose between severalCDOViewProvidersthat match the same repository URI. A higher priority value is preferred in that decision.
 - 
getRegexjava.lang.String getRegex() Returns the regular expression that determines if the provider can handle certain URI
 - 
matchesRegexboolean matchesRegex(org.eclipse.emf.common.util.URI uri) Checks if the URI matches with the regular expression of this provider
 - 
getViewCDOView getView(org.eclipse.emf.common.util.URI uri, org.eclipse.emf.ecore.resource.ResourceSet resourceSet) Receives a URI and returns an openedCDOViewagainst the repository.
 - 
getResourceURIorg.eclipse.emf.common.util.URI getResourceURI(CDOView view, java.lang.String path) - Since:
- 4.0
 
 
- 
 
-