org.eclipse.etrice.core.scoping
Class PlatformRelativeUriResolver

java.lang.Object
  extended by ImportUriResolver
      extended by org.eclipse.etrice.core.scoping.PlatformRelativeUriResolver

public class PlatformRelativeUriResolver
extends ImportUriResolver

This URI resolver tries to resolve against the URI of the object's resource. If this is a platform resource URI then it determines an absolute path and resolves against that.

Author:
Henrik Rentz-Reichert

Constructor Summary
PlatformRelativeUriResolver()
           
 
Method Summary
 java.lang.String resolve(EObject object)
           
 java.lang.String resolve(java.lang.String resolve, URI baseUri)
           
 java.lang.String substituteEnvVars(java.lang.String text)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlatformRelativeUriResolver

public PlatformRelativeUriResolver()
Method Detail

resolve

public java.lang.String resolve(EObject object)

resolve

public java.lang.String resolve(java.lang.String resolve,
                                URI baseUri)

substituteEnvVars

public java.lang.String substituteEnvVars(java.lang.String text)