Eclipse Platform
Release 3.1

org.eclipse.debug.ui.sourcelookup
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.

Clients are not intended to implement this interface.

Since:
3.1
See Also:
DebugUITools.lookupSource(Object, ISourceLocator), DebugUITools.displaySource(ISourceLookupResult, IWorkbenchPage)

Method Summary
 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, or null if unknown.
 IEditorInput getEditorInput()
          Returns the editor input used to display result, or null if unknown.
 Object getSourceElement()
          Returns the source element resolved during source lookup, or null if a source element was not resolved.
 

Method Detail

getArtifact

public 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

public Object getSourceElement()
Returns the source element resolved during source lookup, or null if a source element was not resolved.

Returns:
resolved source element or null if unknown

getEditorId

public String getEditorId()
Returns the identifier of an editor used to display this result, or null if unknown.

Returns:
the identifier of an editor used to display this result, or null if unknown

getEditorInput

public IEditorInput getEditorInput()
Returns the editor input used to display result, or null if unknown.

Returns:
the editor input used to display result, or null if unknown

Eclipse Platform
Release 3.1

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.