Package org.aspectj.tools.ajbrowser.ui
Class EditorManager
java.lang.Object
org.aspectj.tools.ajbrowser.ui.EditorManager
Responsible for controlling the editor.
TODO: remove coupling to BasicEditor
- Author:
- Mik Kersten
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addListener(EditorListener editorListener)
void
addViewForSourceLine(String filePath, int lineNumber)
static boolean
isShiftDown(int modifiers)
void
notifyCurrentFileChanged(String filePath)
void
pasteToCaretPos(String text)
void
removeListener(EditorListener editorListener)
void
void
showSourceLine(String filePath, int lineNumber, boolean highlight)
TODO: remove "instanceof AjdeManager" hackvoid
showSourceLine(ISourceLocation sourceLocation, boolean highlight)
void
showSourcelineAnnotation(String filePath, int lineNumber, List items)
-
Constructor Details
-
EditorManager
-
-
Method Details
-
isShiftDown
public static boolean isShiftDown(int modifiers)- Returns:
- true if input modifiers have shift down
-
addListener
-
removeListener
-
notifyCurrentFileChanged
-
addViewForSourceLine
-
getCurrFile
-
showSourceLine
-
showSourceLine
TODO: remove "instanceof AjdeManager" hack -
pasteToCaretPos
-
showSourcelineAnnotation
-
saveContents
public void saveContents() -
getEditorPanel
-