|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.aspectj.tools.ajbrowser.ui.BasicEditor
public class BasicEditor
Bare-bones editor implementation used when the framework is being used standalone.
| Constructor Summary | |
|---|---|
BasicEditor()
|
|
| Method Summary | |
|---|---|
void |
addEditorViewForSourceLine(java.lang.String filePath,
int lineNumber)
|
void |
clearBreakpointRequest(java.lang.String filePath,
int lineNumber)
|
java.lang.String |
getCurrFile()
|
java.lang.String |
getCurrSourceFilePath()
|
javax.swing.JPanel |
getPanel()
|
void |
pasteToCaretPos(java.lang.String text)
Paste text into the current caret position of the editor. |
void |
saveContents()
Save the contents of the current file being edited. |
void |
setBreakpointRequest(java.lang.String filePath,
int lineNumber,
boolean isDeferred)
|
void |
showSourceForFile(java.lang.String filePath)
|
void |
showSourceForLine(int lineNumber,
boolean highlight)
|
void |
showSourceForSourceLine(java.lang.String filePath,
int lineNumber,
boolean highlight)
|
void |
showSourceLine(int lineNumber,
boolean highlight)
Seek the editor to a source line in the current file. |
void |
showSourceLine(ISourceLocation sourceLocation,
boolean highlight)
Seek the editor to a SourceLocation and highlight if specified. |
void |
showSourceLine(java.lang.String filePath,
int lineNumber,
boolean highlight)
Seek the editor to a source line in the file specified. |
void |
showSourcelineAnnotation(java.lang.String filePath,
int lineNumber,
java.util.List items)
Not implemented. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicEditor()
| Method Detail |
|---|
public java.lang.String getCurrFile()
getCurrFile in interface EditorAdapter
public void showSourceLine(ISourceLocation sourceLocation,
boolean highlight)
EditorAdapter
showSourceLine in interface EditorAdapter
public void showSourceLine(int lineNumber,
boolean highlight)
EditorAdapter
showSourceLine in interface EditorAdapterpublic void pasteToCaretPos(java.lang.String text)
EditorAdapter
pasteToCaretPos in interface EditorAdapter
public void showSourceLine(java.lang.String filePath,
int lineNumber,
boolean highlight)
EditorAdapter
showSourceLine in interface EditorAdapter
public void showSourcelineAnnotation(java.lang.String filePath,
int lineNumber,
java.util.List items)
showSourcelineAnnotation in interface EditorAdapterfilePath - path to the file that should get the annotationlineNumber - line number for the annotationitems - list of relations to be rendered as the annotation
public void addEditorViewForSourceLine(java.lang.String filePath,
int lineNumber)
public void saveContents()
throws java.io.IOException
EditorAdapter
saveContents in interface EditorAdapterjava.io.IOExceptionpublic javax.swing.JPanel getPanel()
public void showSourceForFile(java.lang.String filePath)
public void showSourceForLine(int lineNumber,
boolean highlight)
public void showSourceForSourceLine(java.lang.String filePath,
int lineNumber,
boolean highlight)
public java.lang.String getCurrSourceFilePath()
public void setBreakpointRequest(java.lang.String filePath,
int lineNumber,
boolean isDeferred)
public void clearBreakpointRequest(java.lang.String filePath,
int lineNumber)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||