Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Eclipse Platform
Release 3.5

Interface ISourceDisplay

public interface ISourceDisplay

Displays source for a debug model element. The debug platform displays source whenever a debug context containing a single element is activated (a structured selection with one element). The debug platform displays source by asking an element for its ISourceDisplay adapter or using the element directly if it implements ISourceDisplay.

The debug platform provides a source display adapter for instances of IStackFrame. The standard adapter uses the source locator associated with the stack frame's launch to lookup source. Clients may provide their own source display adapters as required.

Clients may implement this interface.

See Also:

Method Summary
 void displaySource ( Object element, IWorkbenchPage page, boolean forceSourceLookup)
          Displays source for the given element in the specified page.

Method Detail


void displaySource(
Object element,
IWorkbenchPage page,
                   boolean forceSourceLookup)
Displays source for the given element in the specified page.

element - debug model element to display source for
page - the page in which to display source
forceSourceLookup - whether source lookup should be performed, ignoring any previously cached results for the same element

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.

  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire