|
||||||||||
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.ExternalEditor
public class ExternalEditor
Constructor Summary | |
---|---|
ExternalEditor()
Creates a new instance of ExternalEditor |
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 ExternalEditor()
Method Detail |
---|
public void displayFile(java.lang.String filename, java.lang.Integer lineno) throws java.lang.Exception
displayFile
in class Editor
filename
- 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 |