Interface ISourceLookupResult
-
public interface ISourceLookupResult
The 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 Object
getArtifact()
Returns the artifact for which source lookup was performed, such as a stack frame.String
getEditorId()
Returns the identifier of an editor used to display this result, ornull
if unknown.IEditorInput
getEditorInput()
Returns the editor input used to display result, ornull
if unknown.Object
getSourceElement()
Returns the source element resolved during source lookup, ornull
if 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, ornull
if a source element was not resolved.- Returns:
- resolved source element or
null
if unknown
-
getEditorId
String getEditorId()
Returns the identifier of an editor used to display this result, ornull
if unknown.- Returns:
- the identifier of an editor used to display this result,
or
null
if unknown
-
getEditorInput
IEditorInput getEditorInput()
Returns the editor input used to display result, ornull
if unknown.- Returns:
- the editor input used to display result,
or
null
if unknown
-
-