org.aspectj.ajde.ui
Class BuildConfigModel
java.lang.Object
org.aspectj.ajde.ui.BuildConfigModel
public class BuildConfigModel
- extends java.lang.Object
TODO: we have schitzophrenia between BuildConfigNode(s) and IProgramElement(s), fix.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BuildConfigModel
public BuildConfigModel(java.lang.String sourceFile)
getNodeForPath
public BuildConfigNode getNodeForPath(java.lang.String path)
- Parameters:
path
- java.io.File.separator delimited path
- Returns:
- corresponding node if the path is found, the root otherwise
getActiveNodes
public java.util.List<BuildConfigNode> getActiveNodes(BuildConfigNode.Kind kind)
getSourceFile
public java.lang.String getSourceFile()
setSourceFile
public void setSourceFile(java.lang.String sourceFile)
getRoot
public BuildConfigNode getRoot()
setRoot
public void setRoot(BuildConfigNode node)
findNodeForSourceLine
public BuildConfigNode findNodeForSourceLine(java.lang.String sourceFilePath,
int lineNumber)