public interface ISourcePresentation
Source lookup consists of the following steps:
ISourcePresentation. When a source presentation is specified as a source locator, the source presentation is used to resolve an editor, rather than the default debug model presentation.
|Modifier and Type||Method and Description|
Returns the id of the editor to use to display the given editor input and object, or
Returns an editor input that should be used to display the given object in an editor or
IEditorInput getEditorInput(Object element)
nullif unable to provide an editor input for the given object.
element- a debug model element, breakpoint, or a source element that was returned by a source locator's
String getEditorId(IEditorInput input, Object element)
nullif unable to provide an editor id.
input- an editor input that was previously retrieved from this source presentation's
element- the object that was used in the call to
getEditorInput, that corresponds to the given editor input
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.