|
|||||||||
| Home >> All >> org >> eclipse >> debug >> [ ui overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.eclipse.debug.ui
Interface ISourcePresentation

- All Known Subinterfaces:
- IDebugModelPresentation
- public interface ISourcePresentation
A source presentation is used to resolve an editor in which to display a debug model element, breakpoint, or source element. By default, a debug model presentation (which implements this interface) is used to resolve editors when performing source lookup. However, a source locator may override default editor resolution by implementing this interface.
Source lookup consists of the following steps:
- Locating a source element - the source locator associated with a launch is queried for the source element associated with a stack frame.
- Resolving an editor in which to display a source element -
by default, the debug model presentation associated with the
debug model being debugged is queried for an editor input
and editor id in which to display a source element. However,
clients may override editor resolution by specifying a source
locator that is an instance of
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.
- Since:
- 2.0
| Method Summary | |
java.lang.String |
getEditorId(org.eclipse.ui.IEditorInput input,
java.lang.Object element)
Returns the id of the editor to use to display the given editor input and object, or null if
unable to provide an editor id. |
org.eclipse.ui.IEditorInput |
getEditorInput(java.lang.Object element)
Returns an editor input that should be used to display the given object in an editor or null if unable to provide an editor input
for the given object. |
| Method Detail |
getEditorInput
public org.eclipse.ui.IEditorInput getEditorInput(java.lang.Object element)
- Returns an editor input that should be used to display the given object
in an editor or
nullif unable to provide an editor input for the given object.
getEditorId
public java.lang.String getEditorId(org.eclipse.ui.IEditorInput input, java.lang.Object element)
- Returns the id of the editor to use to display the
given editor input and object, or
nullif unable to provide an editor id.
|
|||||||||
| Home >> All >> org >> eclipse >> debug >> [ ui overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC