|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.acm.seguin.ide.common.SourceBrowser
org.acm.seguin.ide.jbuilder.JBuilderBrowser
public class JBuilderBrowser
Base class for source browsing. This is the generic base class.
Constructor Summary | |
---|---|
JBuilderBrowser()
|
Method Summary | |
---|---|
boolean |
canBrowseSource()
Determines if the system is in a state where it can browse the source code |
FileNode |
findSourceFileNode(java.io.File file)
Get the FileNode that matches a File (in this project). |
void |
gotoLine(int lineNumber,
FileNode sourceNode)
Go to a specific line in a source file. |
void |
gotoSource(java.io.File file,
int line)
Actually browses to the file |
void |
showNode(FileNode node)
Show a source file. |
Methods inherited from class org.acm.seguin.ide.common.SourceBrowser |
---|
get, set |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JBuilderBrowser()
Method Detail |
---|
public boolean canBrowseSource()
canBrowseSource
in class SourceBrowser
public FileNode findSourceFileNode(java.io.File file)
file
- File to look for in this project.
public void gotoLine(int lineNumber, FileNode sourceNode)
lineNumber
- Line number to go to.sourceNode
- Source file node.public void gotoSource(java.io.File file, int line)
gotoSource
in class SourceBrowser
file
- the fileline
- the line in the filepublic void showNode(FileNode node)
node
- Source file node to show.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |