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
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

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

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.ui.services
Interface ISourceProviderService


public interface ISourceProviderService

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

This service can be acquired from your service locator:

        ISourceProviderService service = (ISourceProviderService) getSite().getService(ISourceProviderService.class);
 
  • This service is available globally.

Since:
3.4
See Also:
IEvaluationService
Restriction:
This interface is not intended to be implemented by clients.
Restriction:
This interface is not intended to be extended by clients.

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 at the time of this call.
 

Method Detail

getSourceProvider

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

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

org.eclipse.ui.services.IEvaluationService can be used to receive notifications about source variable changes and to evaluate core expressions against source providers.

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

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