public interface IDebugEditorPresentation
Modifier and Type | Method and Description |
---|---|
boolean |
addAnnotations(IEditorPart editorPart,
IStackFrame frame)
Positions and adds annotations to the given editor for the specified
stack frame and returns whether any annotations were added.
|
void |
removeAnnotations(IEditorPart editorPart,
IThread thread)
Removes any debug related annotations from the given editor.
|
boolean addAnnotations(IEditorPart editorPart, IStackFrame frame)
true
is returned, a call will be made to remove annotations
when the source selection is cleared for the stack frame. When
false
is returned, the debugger will position and add
standard annotations to the editor, and a corresponding call to remove
annotations will not be made. This method is called when the debugger is
has opened an editor to display source for the given stack frame.editorPart
- the editor the debugger has openedframe
- the stack frame for which the debugger is displaying
sourcetrue
if annotations were added to the given editor part false
otherwisevoid removeAnnotations(IEditorPart editorPart, IThread thread)
editorPart
- an editor that annotations were added to for
a stack framethread
- the thread for which stack frame annotations were
added to the editor
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.