|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISourceRegionNotifier<T>
| Method Summary | |
|---|---|
void |
addSourceVisitListener(SourceVisitListener sourceVisitListener)
Add a listener to the list of listener |
java.util.List<SourceVisitListener> |
getSourceVisitListeners()
Return the list of SourceVisitListeners |
void |
notifySourceRegionVisited(java.lang.String filePath,
int startOffset,
int endOffset,
EObject targetNode)
Notify all listeners that a source region has been visited This method allows not to indicate the startLine and endLine and automatically put them to -1 |
void |
notifySourceRegionVisited(java.lang.String filePath,
int startOffset,
int endOffset,
int startLine,
int endLine,
EObject targetNode)
Notify all listeners that a source region has been visited |
void |
removeSourceVisitListener(SourceVisitListener sourceVisitListener)
Remove the sourceVisitListener from the list of listeners |
| Method Detail |
|---|
void notifySourceRegionVisited(java.lang.String filePath,
int startOffset,
int endOffset,
int startLine,
int endLine,
EObject targetNode)
filePath - The path of the parent compilation unitstartOffset - Start offset of the source code regionendOffset - End offset of the source code regionstartLine - First line of the source code regionendLine - Last line of the source code regiontargetNode - The corresponding model element
void notifySourceRegionVisited(java.lang.String filePath,
int startOffset,
int endOffset,
EObject targetNode)
filePath - The path of the parent compilation unitstartOffset - Start offset of the source code regionendOffset - End offset of the source code regiontargetNode - The corresponding model elementvoid addSourceVisitListener(SourceVisitListener sourceVisitListener)
sourceVisitListener - void removeSourceVisitListener(SourceVisitListener sourceVisitListener)
sourceVisitListener - java.util.List<SourceVisitListener> getSourceVisitListeners()
SourceVisitListeners
SourceVisitListeners
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||