org.eclipse.xtext.builder.trace
Class TraceMarkers

java.lang.Object
  extended by org.eclipse.xtext.builder.trace.TraceMarkers

@NonNullByDefault
public class TraceMarkers
extends java.lang.Object

Author:
Sebastian Zarnekow - Initial contribution and API

Field Summary
static java.lang.String ATTR_GENERATOR_NAME
           
static java.lang.String ATTR_PATH
           
static java.lang.String DEFAULT_GENERATOR_NAME
           
static java.lang.String MARKER_ID
           
 
Constructor Summary
TraceMarkers()
           
 
Method Summary
 java.util.List<org.eclipse.core.runtime.IPath> findTraceFiles(org.eclipse.core.resources.IFile sourceFile)
           
 java.util.List<org.eclipse.core.runtime.IPath> findTraceFiles(org.eclipse.core.resources.IFile sourceFile, java.lang.String generatorName)
           
protected  org.eclipse.core.resources.IMarker[] findTraceMarkers(org.eclipse.core.resources.IFile file)
           
 void installMarker(org.eclipse.core.resources.IFile sourceFile, org.eclipse.core.runtime.IPath... traceFileLocations)
           
 void installMarker(org.eclipse.core.resources.IFile sourceFile, java.lang.String generatorName, org.eclipse.core.runtime.IPath[] traceFileLocations)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MARKER_ID

public static final java.lang.String MARKER_ID
See Also:
Constant Field Values

ATTR_PATH

public static final java.lang.String ATTR_PATH
See Also:
Constant Field Values

ATTR_GENERATOR_NAME

public static final java.lang.String ATTR_GENERATOR_NAME
See Also:
Constant Field Values

DEFAULT_GENERATOR_NAME

public static final java.lang.String DEFAULT_GENERATOR_NAME
See Also:
Constant Field Values
Constructor Detail

TraceMarkers

public TraceMarkers()
Method Detail

findTraceMarkers

protected org.eclipse.core.resources.IMarker[] findTraceMarkers(org.eclipse.core.resources.IFile file)
                                                         throws org.eclipse.core.runtime.CoreException
Throws:
org.eclipse.core.runtime.CoreException

findTraceFiles

public java.util.List<org.eclipse.core.runtime.IPath> findTraceFiles(org.eclipse.core.resources.IFile sourceFile)
                                                              throws org.eclipse.core.runtime.CoreException
Throws:
org.eclipse.core.runtime.CoreException

findTraceFiles

public java.util.List<org.eclipse.core.runtime.IPath> findTraceFiles(org.eclipse.core.resources.IFile sourceFile,
                                                                     java.lang.String generatorName)
                                                              throws org.eclipse.core.runtime.CoreException
Throws:
org.eclipse.core.runtime.CoreException

installMarker

public void installMarker(org.eclipse.core.resources.IFile sourceFile,
                          org.eclipse.core.runtime.IPath... traceFileLocations)
                   throws org.eclipse.core.runtime.CoreException
Throws:
org.eclipse.core.runtime.CoreException

installMarker

public void installMarker(org.eclipse.core.resources.IFile sourceFile,
                          java.lang.String generatorName,
                          org.eclipse.core.runtime.IPath[] traceFileLocations)
                   throws org.eclipse.core.runtime.CoreException
Throws:
org.eclipse.core.runtime.CoreException