public class EditorManager
extends java.lang.Object
Constructor and Description |
---|
EditorManager(EditorAdapter ajdeEditor) |
Modifier and Type | Method and Description |
---|---|
void |
addListener(EditorListener editorListener) |
void |
addViewForSourceLine(java.lang.String filePath,
int lineNumber) |
java.lang.String |
getCurrFile() |
javax.swing.JPanel |
getEditorPanel() |
static boolean |
isShiftDown(int modifiers) |
void |
notifyCurrentFileChanged(java.lang.String filePath) |
void |
pasteToCaretPos(java.lang.String text) |
void |
removeListener(EditorListener editorListener) |
void |
saveContents() |
void |
showSourceLine(ISourceLocation sourceLocation,
boolean highlight) |
void |
showSourceLine(java.lang.String filePath,
int lineNumber,
boolean highlight) |
void |
showSourcelineAnnotation(java.lang.String filePath,
int lineNumber,
java.util.List items) |
public EditorManager(EditorAdapter ajdeEditor)
public static boolean isShiftDown(int modifiers)
public void addListener(EditorListener editorListener)
public void removeListener(EditorListener editorListener)
public void notifyCurrentFileChanged(java.lang.String filePath)
public void addViewForSourceLine(java.lang.String filePath, int lineNumber)
public java.lang.String getCurrFile()
public void showSourceLine(ISourceLocation sourceLocation, boolean highlight)
public void showSourceLine(java.lang.String filePath, int lineNumber, boolean highlight)
public void pasteToCaretPos(java.lang.String text)
public void showSourcelineAnnotation(java.lang.String filePath, int lineNumber, java.util.List items)
public void saveContents()
public javax.swing.JPanel getEditorPanel()