org.eclipse.modisco.kdm.source.extension.discovery
Interface SourceVisitListener
public interface SourceVisitListener
Represents a listener that can be added to a discoverer in order to be notified when a source
region is visited by a discoverer.
See Help Contents or http://wiki.eclipse.org/MoDisco/Components/KDMSourceExtension
See also AbstractRegionDiscoverer
Method Summary |
void |
sourceRegionVisited(java.lang.String filePath,
int startOffset,
int endOffset,
int startLine,
int endLine,
EObject targetNode)
Abstract method to be implemented in composite discoverers. |
sourceRegionVisited
void sourceRegionVisited(java.lang.String filePath,
int startOffset,
int endOffset,
int startLine,
int endLine,
EObject targetNode)
- Abstract method to be implemented in composite discoverers. A typical implementation will
instantiate an
ASTNodeSourceRegion
.
- Parameters:
filePath
- the path of the file containing the source regionstartOffset
- the start offset of the source code regionendOffset
- the end offset of the source code regionstartLine
- the first line of the source code regionendLine
- the last line of the source code regiontargetNode
- the corresponding model element