Eclipse Platform
Release 3.4

org.eclipse.ui.services
Interface ISourceProviderService


public interface ISourceProviderService

A service from which all of the source providers can be retrieved.

Note: Clients should not extend or implement this interface.

This API is experimental and may change before the end of M6.

Since:
3.4

Method Summary
 ISourceProvider getSourceProvider(String sourceName)
          Retrieves a source provider providing the given source.
 ISourceProvider[] getSourceProviders()
          Retrieves all of the source providers registered with this service.
 

Method Detail

getSourceProvider

public ISourceProvider getSourceProvider(String sourceName)
Retrieves a source provider providing the given source. This is used by clients who only need specific sources.

Parameters:
sourceName - The name of the source; must not be null.
Returns:
A source provider which provides the request source, or null if no such source exists.
See Also:
ISources

getSourceProviders

public ISourceProvider[] getSourceProviders()
Retrieves all of the source providers registered with this service.

Returns:
The source providers registered with this service. This value is never null, but may be empty.

Eclipse Platform
Release 3.4

Guidelines for using Eclipse APIs.

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