Interface CDOViewProvider

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int DEFAULT_PRIORITY  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getPriority()
      Returns the priority of this provider.
      java.lang.String getRegex()
      Returns the regular expression that determines if the provider can handle certain URI
      org.eclipse.emf.common.util.URI getResourceURI​(CDOView view, java.lang.String path)  
      CDOView getView​(org.eclipse.emf.common.util.URI uri, org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
      Receives a URI and returns an opened CDOView against the repository.
      boolean matchesRegex​(org.eclipse.emf.common.util.URI uri)
      Checks if the URI matches with the regular expression of this provider
    • Method Detail

      • getPriority

        int getPriority()
        Returns the priority of this provider. Usually used to choose between several CDOViewProviders that match the same repository URI. A higher priority value is preferred in that decision.
      • getRegex

        java.lang.String getRegex()
        Returns the regular expression that determines if the provider can handle certain URI
      • matchesRegex

        boolean matchesRegex​(org.eclipse.emf.common.util.URI uri)
        Checks if the URI matches with the regular expression of this provider
      • getView

        CDOView getView​(org.eclipse.emf.common.util.URI uri,
                        org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
        Receives a URI and returns an opened CDOView against the repository.
      • getResourceURI

        org.eclipse.emf.common.util.URI getResourceURI​(CDOView view,
                                                       java.lang.String path)
        Since:
        4.0