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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(EditorListener editorListener)voidaddViewForSourceLine(String filePath, int lineNumber)static booleanisShiftDown(int modifiers)voidnotifyCurrentFileChanged(String filePath)voidpasteToCaretPos(String text)voidremoveListener(EditorListener editorListener)voidvoidshowSourceLine(String filePath, int lineNumber, boolean highlight)TODO: remove "instanceof AjdeManager" hackvoidshowSourceLine(ISourceLocation sourceLocation, boolean highlight)voidshowSourcelineAnnotation(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
-