Interface ISourceLookupResult
-
public interface ISourceLookupResultThe result of performing source lookup on a debug artifact. The result contains the resolved source element and description of an editor (editor id, and editor input) in which to display the result.- Since:
- 3.1
- See Also:
DebugUITools.lookupSource(Object, org.eclipse.debug.core.model.ISourceLocator),DebugUITools.displaySource(ISourceLookupResult, org.eclipse.ui.IWorkbenchPage)- Restriction:
- This interface is not intended to be implemented by clients.
- Restriction:
- This interface is not intended to be extended by clients.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectgetArtifact()Returns the artifact for which source lookup was performed, such as a stack frame.StringgetEditorId()Returns the identifier of an editor used to display this result, ornullif unknown.IEditorInputgetEditorInput()Returns the editor input used to display result, ornullif unknown.ObjectgetSourceElement()Returns the source element resolved during source lookup, ornullif a source element was not resolved.
-
-
-
Method Detail
-
getArtifact
Object getArtifact()
Returns the artifact for which source lookup was performed, such as a stack frame.- Returns:
- the artifact for which source lookup was performed
-
getSourceElement
Object getSourceElement()
Returns the source element resolved during source lookup, ornullif a source element was not resolved.- Returns:
- resolved source element or
nullif unknown
-
getEditorId
String getEditorId()
Returns the identifier of an editor used to display this result, ornullif unknown.- Returns:
- the identifier of an editor used to display this result,
or
nullif unknown
-
getEditorInput
IEditorInput getEditorInput()
Returns the editor input used to display result, ornullif unknown.- Returns:
- the editor input used to display result,
or
nullif unknown
-
-