Interface ISourceDisplay
-
public interface ISourceDisplay
Displays source for a debug model element. The debug platform displays source whenever a debug context containing a single element is activated (a structured selection with one element). The debug platform displays source by asking an element for itsISourceDisplay
adapter or using the element directly if it implementsISourceDisplay
.The debug platform provides a source display adapter for instances of
IStackFrame
. The standard adapter uses the source locator associated with the stack frame's launch to lookup source. Clients may provide their own source display adapters as required.Clients may implement this interface.
- Since:
- 3.3
- See Also:
IAdaptable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
displaySource(Object element, IWorkbenchPage page, boolean forceSourceLookup)
Displays source for the given element in the specified page.
-
-
-
Method Detail
-
displaySource
void displaySource(Object element, IWorkbenchPage page, boolean forceSourceLookup)
Displays source for the given element in the specified page.- Parameters:
element
- debug model element to display source forpage
- the page in which to display sourceforceSourceLookup
- whether source lookup should be performed, ignoring any previously cached results for the same element
-
-