|
Eclipse Platform Release 3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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:
Method Summary | |
String | getEditorId(IEditorInput input,
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. |
IEditorInput | getEditorInput(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 |
public IEditorInput getEditorInput(Object element)
public String getEditorId(IEditorInput input, Object element)
|
Eclipse Platform Release 3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.