org.eclipse.xtext.builder.trace
Class StorageAwareTrace
java.lang.Object
org.eclipse.xtext.builder.trace.AbstractTrace
org.eclipse.xtext.builder.trace.StorageAwareTrace
- All Implemented Interfaces:
- ITrace, ITrace.Internal
@NonNullByDefault
public class StorageAwareTrace
- extends AbstractTrace
- Author:
- Sebastian Zarnekow - Initial contribution and API
Nested classes/interfaces inherited from interface org.eclipse.xtext.generator.trace.ITrace |
ITrace.Internal |
Methods inherited from class org.eclipse.xtext.builder.trace.AbstractTrace |
createLocationInResourceFor, encloses, encloses, findLanguage, findParentByURI, findProject, findStorage, findTraceRegionAt, findTraceRegionAtLeftOffset, findTraceRegionAtRightOffset, getAllAssociatedLocations, getAllAssociatedLocations, getAllAssociatedLocations, getAllAssociatedLocations, getAllTraceRegions, getAllTraceRegions, getBestAssociatedLocation, getBestAssociatedLocation, getLanguage, getLocalURI, getMergedLocationInResource, getResource, getRootTraceRegion, getService, getURIForStorage, isAssociatedWith, mergeRegions, toLocations |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StorageAwareTrace
public StorageAwareTrace()
getLocalStorage
public org.eclipse.core.resources.IStorage getLocalStorage()
- Description copied from interface:
ITrace
- Returns the storage that is associated with this trace.
- Specified by:
getLocalStorage
in interface ITrace
- Specified by:
getLocalStorage
in class AbstractTrace
- Returns:
- the associated storage. Never
null
.
getLocalProject
public org.eclipse.core.resources.IProject getLocalProject()
- Description copied from interface:
ITrace
- Returns the source project. Never
null
.
- Specified by:
getLocalProject
in interface ITrace
- Specified by:
getLocalProject
in class AbstractTrace
- Returns:
- the source project. Never
null
.
doGetRootTraceRegion
@Nullable
protected AbstractTraceRegion doGetRootTraceRegion()
- Specified by:
doGetRootTraceRegion
in class AbstractTrace
setTraceRegionProvider
protected void setTraceRegionProvider(ITraceRegionProvider traceRegionProvider)
getTraceRegionProvider
protected ITraceRegionProvider getTraceRegionProvider()
setLocalStorage
protected void setLocalStorage(org.eclipse.core.resources.IStorage derivedResource)