|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensolaris.opengrok.search.scope.Editor
org.opensolaris.opengrok.search.scope.editor.InternalEditor
public class InternalEditor
The InternaEditor is used to open a file in a JFrame.
| Constructor Summary | |
|---|---|
InternalEditor()
Creates a new instance of InternalEditor |
|
| Method Summary | |
|---|---|
void |
displayFile(java.lang.String filename,
java.lang.Integer lineno)
Display a named file in the editor |
boolean |
isEditable()
Is it possible to modify the command on this editor or not |
| Methods inherited from class org.opensolaris.opengrok.search.scope.Editor |
|---|
getCommand, getName, setCommand, setName, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public InternalEditor()
| Method Detail |
|---|
public void displayFile(java.lang.String filename,
java.lang.Integer lineno)
throws java.lang.Exception
displayFile in class Editorfilename - The name of the file to displaylineno - The line number to position the caret at (null if unknown)
java.lang.Exception - if an error occurs while starting the editor
or reading the filepublic boolean isEditable()
isEditable in class Editor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||