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);
IEvaluationService
Modifier and Type | Method and Description |
---|---|
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.
|
ISourceProvider getSourceProvider(String sourceName)
sourceName
- The name of the source; must not be null
.null
if no such source exists.ISources
ISourceProvider[] getSourceProviders()
org.eclipse.ui.services.IEvaluationService
can be used
to receive notifications about source variable changes and to
evaluate core expressions against source providers.
null
, but may be empty.
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.