|
JET | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SourceCodeViewer
An interface used by the outputer and the tester to locate and hightlight the source code line corresponding to an error message. The interface is also used to retrieve a paste action that should be enabled when a copy action is performed on the output pange.
| Method Summary | |
|---|---|
Action |
getPasteAction()
Returns a paste action that should be enabled when a copy action is performed on the output pane. |
void |
highlight(String file,
int line)
Highlights the given line of the given file, if necessary, by first bringing in the file into the source code viewer. |
void |
highlight(String file,
int line,
int column)
Highlights the given line and column of the given file, if necessary, by first bringing in the file into the source code viewer. |
| Method Detail |
|---|
Action getPasteAction()
void highlight(String file,
int line,
int column)
T.java and ../T.java) identified from
the error messages of external tools such as javac
and jmlc.
void highlight(String file,
int line)
T.java and
../T.java) identified from the error messages of
external tools such as javac and
jmlc.
|
JET | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||