|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.modisco.kdm.source.extension.discovery.AbstractRegionDiscoverer
@Deprecated public abstract class AbstractRegionDiscoverer
This abstract discoverer should be reused for each new leaf discoverer which visits some language
source code, in order to have the capability to notify the visit of source regions with a generic
mechanism. Composite discoverers should not inherit from this class but rather listen to leaf
discoverers in using the proposed listening API.
See Help Contents or http://wiki.eclipse.org/MoDisco/Components/KDMSourceExtension
See also SourceVisitListener
Constructor Summary | |
---|---|
AbstractRegionDiscoverer()
Deprecated. |
Method Summary | |
---|---|
void |
addSourceVisitListener(SourceVisitListener sourceVisitListener)
Deprecated. Add a listener to the list of listener |
java.util.List<SourceVisitListener> |
getListSourceVisitListener()
Deprecated. Return the list of sourceVisitListener |
void |
notifyRegionSourceVisit(java.lang.String filePath,
int startPosition,
int endPosition,
EObject targetNode)
Deprecated. Notify all the 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 |
notifyRegionSourceVisit(java.lang.String filePath,
int startPosition,
int endPosition,
int startLine,
int endLine,
EObject targetNode)
Deprecated. * Notify all the listeners that a source region has been visited |
void |
removeSourceVisitListener(SourceVisitListener sourceVisitListener)
Deprecated. Remove the sourceVisitListener from the list |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.gmt.modisco.infra.discoverymanager.Discoverer |
---|
discoverElement, getDiscovererParameters, isApplicableTo |
Constructor Detail |
---|
public AbstractRegionDiscoverer()
Method Detail |
---|
public final void notifyRegionSourceVisit(java.lang.String filePath, int startPosition, int endPosition, int startLine, int endLine, EObject targetNode)
filePath
- The path of the parent compilation unitstartPosition
- Start Position of the source code regionendPosition
- EndPosition of the source code regionstartLine
- Start line of the source code regionendLine
- End line of the source code regiontargetNode
- The Java Node to be documentedpublic final void notifyRegionSourceVisit(java.lang.String filePath, int startPosition, int endPosition, EObject targetNode)
filePath
- The path of the parent compilation unitstartPosition
- Start Position of the source code regionendPosition
- EndPosition of the source code regiontargetNode
- The Java Node to be documentedpublic final void addSourceVisitListener(SourceVisitListener sourceVisitListener)
sourceVisitListener
- public final void removeSourceVisitListener(SourceVisitListener sourceVisitListener)
sourceVisitListener
- public final java.util.List<SourceVisitListener> getListSourceVisitListener()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |