public class StorageAwareTrace extends AbstractEclipseTrace
contributions to resolve trace URIs.AbstractTrace.TraceAccess, AbstractTrace.TraceRegionsByURI| Constructor and Description |
|---|
StorageAwareTrace() |
| Modifier and Type | Method and Description |
|---|---|
protected org.eclipse.core.resources.IStorage |
findStorage(SourceRelativeURI uri,
org.eclipse.core.resources.IProject project) |
protected InputStream |
getContents(SourceRelativeURI uri,
org.eclipse.core.resources.IProject project) |
protected Reader |
getContentsAsText(org.eclipse.core.resources.IStorage storage) |
protected Reader |
getContentsAsText(SourceRelativeURI uri,
org.eclipse.core.resources.IProject project) |
protected Reader |
getLocalContentsAsText(org.eclipse.core.resources.IProject project) |
org.eclipse.core.resources.IProject |
getLocalProject() |
org.eclipse.core.resources.IStorage |
getLocalStorage() |
AbsoluteURI |
getLocalURI() |
protected AbsoluteURI |
resolvePath(org.eclipse.core.resources.IProject project,
SourceRelativeURI path) |
protected AbsoluteURI |
resolvePath(SourceRelativeURI path)
Resolve the given path in the context of the known
local storage. |
void |
setLocalStorage(org.eclipse.core.resources.IStorage derivedResource) |
createLocationInResource, findProject, getAllAssociatedLocations, getAllAssociatedLocations, getAllAssociatedLocations, getAllAssociatedLocations, getAllAssociatedLocations, getAllAssociatedLocations, getBestAssociatedLocation, getBestAssociatedLocation, getBestAssociatedLocation, getContents, getContentsAsText, getLocalContentsAsText, getLocalProjectConfig, getStorage2uriMapper, getURIForStorage, getWorkspacecreateLocationInResourceFor, doGetRootTraceRegion, encloses, encloses, findLanguage, findParentByURI, findTraceRegionAt, findTraceRegionAtLeftOffset, findTraceRegionAtRightOffset, getAllTraceRegions, getAllTraceRegions, getLocalLanguage, getMergedLocationInResource, getRootTraceRegion, getService, getSrcRelativeLocalURI, getTraceRegionProvider, hasTraceData, isAssociatedWith, isTraceToSource, isTraceToTarget, mergeRegions, setTraceRegionProvider, setTraceToSource, toLocations, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLocalLanguage, getSrcRelativeLocalURI, hasTraceDatapublic org.eclipse.core.resources.IStorage getLocalStorage()
public AbsoluteURI getLocalURI()
getLocalURI in interface ITracegetLocalURI in class AbstractTracepublic org.eclipse.core.resources.IProject getLocalProject()
getLocalProject in class AbstractEclipseTraceprotected AbsoluteURI resolvePath(SourceRelativeURI path)
local storage.
Try to resolve it by querying the contributions.resolvePath in class AbstractTraceIStorageAwareTraceContribution.tryResolvePath(IStorage, SourceRelativeURI)protected AbsoluteURI resolvePath(org.eclipse.core.resources.IProject project, SourceRelativeURI path)
public void setLocalStorage(org.eclipse.core.resources.IStorage derivedResource)
protected org.eclipse.core.resources.IStorage findStorage(SourceRelativeURI uri, org.eclipse.core.resources.IProject project)
findStorage in class AbstractEclipseTraceprotected InputStream getContents(SourceRelativeURI uri, org.eclipse.core.resources.IProject project) throws IOException
getContents in class AbstractEclipseTraceIOExceptionprotected Reader getContentsAsText(SourceRelativeURI uri, org.eclipse.core.resources.IProject project) throws IOException
getContentsAsText in class AbstractEclipseTraceIOExceptionprotected Reader getLocalContentsAsText(org.eclipse.core.resources.IProject project) throws IOException
getLocalContentsAsText in class AbstractEclipseTraceIOExceptionprotected Reader getContentsAsText(org.eclipse.core.resources.IStorage storage) throws WrappedCoreException
WrappedCoreExceptionCopyright © 2016. All Rights Reserved.