public class FolderAwareTrace extends AbstractTrace
AbstractTrace.TraceRegionsByURI
ITrace.Internal
Constructor and Description |
---|
FolderAwareTrace() |
Modifier and Type | Method and Description |
---|---|
protected java.io.File |
findFile(java.io.File container,
java.lang.String candiadate) |
protected org.eclipse.core.resources.IStorage |
findStorage(org.eclipse.emf.common.util.URI uri,
org.eclipse.core.resources.IProject project) |
protected java.io.InputStream |
getContents(org.eclipse.emf.common.util.URI uri,
org.eclipse.core.resources.IProject project) |
org.eclipse.core.resources.IProject |
getLocalProject()
Returns the source project.
|
org.eclipse.emf.common.util.URI |
getLocalURI()
Returns the URI of the source resource.
|
protected void |
setProject(org.eclipse.core.resources.IProject project) |
void |
setRootFolder(java.lang.String folder) |
protected void |
setUri(org.eclipse.emf.common.util.URI uri) |
createLocationInResourceFor, doGetRootTraceRegion, encloses, encloses, findLanguage, findParentByURI, findProject, findTraceRegionAt, findTraceRegionAtLeftOffset, findTraceRegionAtRightOffset, getAllAssociatedLocations, getAllAssociatedLocations, getAllAssociatedLocations, getAllAssociatedLocations, getAllTraceRegions, getAllTraceRegions, getBestAssociatedLocation, getBestAssociatedLocation, getLanguage, getMergedLocationInResource, getResource, getRootTraceRegion, getService, getStorage2uriMapper, getTraceRegionProvider, getURIForStorage, getWorkspace, isAssociatedWith, mergeRegions, resolvePath, setTraceRegionProvider, toLocations
public org.eclipse.core.resources.IProject getLocalProject()
ITrace
null
.getLocalProject
in interface ITrace
getLocalProject
in class AbstractTrace
null
.public org.eclipse.emf.common.util.URI getLocalURI()
ITrace
null
.getLocalURI
in interface ITrace
getLocalURI
in class AbstractTrace
null
.protected void setProject(org.eclipse.core.resources.IProject project)
protected void setUri(org.eclipse.emf.common.util.URI uri)
protected org.eclipse.core.resources.IStorage findStorage(org.eclipse.emf.common.util.URI uri, org.eclipse.core.resources.IProject project)
findStorage
in class AbstractTrace
public void setRootFolder(java.lang.String folder)
protected java.io.File findFile(java.io.File container, java.lang.String candiadate)
protected java.io.InputStream getContents(org.eclipse.emf.common.util.URI uri, org.eclipse.core.resources.IProject project) throws org.eclipse.core.runtime.CoreException
getContents
in class AbstractTrace
org.eclipse.core.runtime.CoreException